From: Wendy Liang Date: Tue, 6 Nov 2012 05:18:57 +0000 (+1000) Subject: Do not hang if the kernel image is legacy image X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e40115cf6b3665aa6251794fc9973536d0f2147a;p=thirdparty%2Fu-boot.git Do not hang if the kernel image is legacy image 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 Tested-by: Michal Simek --- diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c index a9070d54457..2960c4d1d54 100644 --- a/arch/arm/lib/bootm.c +++ b/arch/arm/lib/bootm.c @@ -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 */ } }