cmd_bootm.c: Make bootz handle BOOTM_STATE_FINDOTHER itself
authorTom Rini <trini@ti.com>
Tue, 9 Jul 2013 19:33:25 +0000 (15:33 -0400)
committerTom Rini <trini@ti.com>
Wed, 10 Jul 2013 13:15:15 +0000 (09:15 -0400)
commit225fd8c5d4556547896a5d32ee092a258f3df638
treeea77b177886d964944d8270c37015c5c1578622d
parent2b9599e010603879f99ed867f47fca6268902661
cmd_bootm.c: Make bootz handle BOOTM_STATE_FINDOTHER itself

As a zImage does not have a U-Boot header, we cannot really do what
BOOTM_STATE_FINDOTHER does, exactly.  Break the ramdisk/fdt portions of
bootm_find_other into bootm_find_ramdisk/fdt which can be called in both
cases.

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