]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Fix bootm to work on powerpc again (compressed uImage)
authorStefan Roese <sr@denx.de>
Fri, 28 Jun 2013 08:02:03 +0000 (10:02 +0200)
committerTom Rini <trini@ti.com>
Fri, 28 Jun 2013 20:26:52 +0000 (16:26 -0400)
Patch 35fc84fa1 [Refactor the bootm command to reduce code duplication]
breaks booting Linux (compressed uImage with fdt) on powerpc.

boot_jump_linux() mustn't be called before boot_prep_linux() and
boot_body_linux() have been called. So remove the superfluous call
to boot_jump_linux() in arch/powerpc/lib/bootm.c as its called later on
in this function.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@ti.com>
arch/powerpc/lib/bootm.c

index dd6c98cdb48990c6de15cdfbeef02639ab33ecfd..d4ad323fe9051038c72907ef441822a96d45c8e1 100644 (file)
@@ -256,11 +256,6 @@ int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *ima
                return 0;
        }
 
-       if (flag & BOOTM_STATE_OS_GO) {
-               boot_jump_linux(images);
-               return 0;
-       }
-
        boot_prep_linux(images);
        ret = boot_body_linux(images);
        if (ret)