microblaze: Add messages about FDT blob
authorMichal Simek <monstr@monstr.eu>
Mon, 22 Jun 2009 08:28:40 +0000 (10:28 +0200)
committerMichal Simek <monstr@monstr.eu>
Mon, 27 Jul 2009 05:39:53 +0000 (07:39 +0200)
Print accurate message about place where FDT blob is.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/setup.c

index 59a383621b226ec361523e9fb6f829a5d4cc1e4c..2a97bf513b64c691e81b4bd9867f537aefb6f606 100644 (file)
@@ -138,9 +138,12 @@ void __init machine_early_init(const char *cmdline, unsigned int ram,
        setup_early_printk(NULL);
 #endif
 
-       early_printk("Ramdisk addr 0x%08x, FDT 0x%08x\n", ram, fdt);
-       if(fdt)
-               printk(KERN_NOTICE "Found FDT at 0x%08x\n", fdt);
+       early_printk("Ramdisk addr 0x%08x, ", ram);
+       if (fdt)
+               early_printk("FDT at 0x%08x\n", fdt);
+       else
+               early_printk("Compiled-in FDT at 0x%08x\n",
+                                       (unsigned int)_fdt_start);
 
 #ifdef CONFIG_MTD_UCLINUX
        early_printk("Found romfs @ 0x%08x (0x%08x)\n",