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@xxxxxxxxxxxxxx> Cc: Michal Simek <monstr@xxxxxxxxx> Cc: microblaze-uclinux@xxxxxxxxxxxxxx --- Note: I did not remove the now-unused fdt parameter from machine_early_init(), as this would require quite some changes to head.S. BTW, cmdline is also unused. arch/microblaze/kernel/setup.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c index a4534f584be0..a9a9f8baa94a 100644 --- a/arch/microblaze/kernel/setup.c +++ b/arch/microblaze/kernel/setup.c @@ -136,7 +136,7 @@ void __init machine_early_init(const char *cmdline, unsigned int ram, lockdep_init(); /* initialize device tree for usage in early_printk */ - early_init_devtree(&__dtb_start); + early_init_devtree(NULL); #ifdef CONFIG_EARLY_PRINTK setup_early_printk(NULL); @@ -149,10 +149,6 @@ void __init machine_early_init(const char *cmdline, unsigned int ram, tlb1, kernel_tlb); */ pr_info("Ramdisk addr 0x%08x, ", ram); - if (fdt) - pr_info("FDT at 0x%08x\n", fdt); - else - pr_info("Compiled-in FDT at %p\n", &__dtb_start); #ifdef CONFIG_MTD_UCLINUX pr_info("Found romfs @ 0x%08x (0x%08x)\n", -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html