]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
bootm: Move fixup_silent_linux() earlier in the bootm stages
authorSimon Glass <sjg@chromium.org>
Wed, 17 Jul 2013 03:09:59 +0000 (20:09 -0700)
committerTom Rini <trini@ti.com>
Wed, 17 Jul 2013 14:37:11 +0000 (10:37 -0400)
commit576aacdb915242dc60977049528b546fbe6135cc
tree79303d0d4206b5879cbc70b0a0909ead7da59874
parentc3e0afca4837e688d8e3dca273a9e0ded3599a63
bootm: Move fixup_silent_linux() earlier in the bootm stages

Before the bootm refactor, fixup_silent_linux() was done only in the
monolithic bootm case, not in the subcommand case. With the refactor, it
is done always, which is good. Unfortunately it is done too late, since it
is the PREP or CMDLINE stages that set up the command line for Linux.

Move fixup_silent_linux() into the LOADOS stage, which is where we find
out the OS being used, and can thus decide whether to perform this step.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_bootm.c