]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
SPL: Rework how we inform about un-headered images
authorTom Rini <trini@ti.com>
Mon, 27 Aug 2012 21:58:28 +0000 (14:58 -0700)
committerTom Rini <trini@ti.com>
Thu, 27 Sep 2012 18:20:28 +0000 (11:20 -0700)
commit4212098181ac91e14374c1207b1e98595f1cc717
tree0e16048409b7e9b15a287994a665253555d1bdf9
parent1292eaf3530257e24c77979295892718662eda4b
SPL: Rework how we inform about un-headered images

First, remove the puts from the case where we don't have an mkimage
header as this is somewhat common and intentional for no-arg target
images.  Second, rework the final switch statement in board_init_r to,
in the case of !CONFIG_SPL_OS_BOOT be only about doing debug prints
about if we know what the magic is or not (the CONFIG_SPL_OS_BOOT case
is unchanged).  Then we call jump_to_image_no_args().  This gives us the
same behavior as before but with slightly smaller code.

Signed-off-by: Tom Rini <trini@ti.com>
common/spl/spl.c