lkml.org 
[lkml]   [2013]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 8/9] openrisc: Remove duplicate DT selection logic
Date
early_init_dt_scan() now takes care of falling back to the built-in DTB,
and printing what it did.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: linux@lists.openrisc.net
---
arch/openrisc/kernel/setup.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/arch/openrisc/kernel/setup.c b/arch/openrisc/kernel/setup.c
index 3ca640cd42be..4ec6b07f02b3 100644
--- a/arch/openrisc/kernel/setup.c
+++ b/arch/openrisc/kernel/setup.c
@@ -212,12 +212,6 @@ void __init setup_cpuinfo(void)

void __init or32_early_setup(void *fdt)
{
- if (fdt)
- pr_info("FDT at %p\n", fdt);
- else {
- fdt = &__dtb_start;
- pr_info("Compiled-in FDT at %p\n", fdt);
- }
early_init_devtree(fdt);
}

--
1.7.9.5


\
 
 \ /
  Last update: 2013-11-19 13:21    [W:0.305 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site