From a2f4e395ccf727c43766574e997b923067c88dca Mon Sep 17 00:00:00 2001 From: Wendy Liang Date: Tue, 6 Nov 2012 15:18:57 +1000 Subject: [PATCH] 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 --- arch/arm/lib/bootm.c | 3 --- 1 file changed, 3 deletions(-) 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 */ } } -- 2.47.3