]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Do not hang if the kernel image is legacy image
authorWendy Liang <jliang@xilinx.com>
Tue, 6 Nov 2012 05:18:57 +0000 (15:18 +1000)
committerMichal Simek <monstr@monstr.eu>
Wed, 7 Nov 2012 09:07:11 +0000 (10:07 +0100)
U-boot should not hang because it fails to create FDT nor any of
the following tag is defined:
 CONFIG_SETUP_MEMORY_TAGS
 CONFIG_CMDLINE_TAG
 CONFIG_INITRD_TAG
 CONFIG_SERIAL_TAG
 CONFIG_REVISION_TAG

Signed-off-by: Wendy Liang <jliang@xilinx.com>
Tested-by: Michal Simek <monstr@monstr.eu>
arch/arm/lib/bootm.c

index a9070d54457c44082fcf4cadeea7fba9145d5827..2960c4d1d540aaf654b9483814e83b1a5a4e3afb 100644 (file)
@@ -308,9 +308,6 @@ static void boot_prep_linux(bootm_headers_t *images)
                        images->rd_end);
 #endif
                setup_end_tag(gd->bd);
-#else /* all tags */
-               printf("FDT and ATAGS support not compiled in - hanging\n");
-               hang();
 #endif /* all tags */
        }
 }