]> git.sur5r.net Git - u-boot/commit
bootm: fixup silent Linux out of BOOTM_STATE_LOADOS state
authorHector Palacios <hector.palacios@digi.com>
Mon, 11 Jul 2016 10:34:37 +0000 (12:34 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:22:44 +0000 (18:22 -0400)
commit19e8649e59f5632792ecccbf04a2401eddb03e44
tree27cfadcbcd9aa2e149e96ee1fbbaf8f7eb55bd6f
parent4b2fd720a7b2f78c42d1565edf4c67f378c65440
bootm: fixup silent Linux out of BOOTM_STATE_LOADOS state

The function fixup_silent_linux() is called in status BOOTM_STATE_LOADOS
to silence Linux if variable 'silent' is set.
Currently only the 'bootm' command state machine contains
BOOTM_STATE_LOADOS, but others like 'booti' or 'bootz' commands do not.
This means silent Linux does not work with these commands.

This patch moves the fixup_silent_linux() call out of the
BOOTM_STATE_LOADOS state and into BOOTM_STATE_OS_PREP, to silence Linux
independently of the used command (booti, bootm or bootz).

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
common/bootm.c