]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
bootm: Add the missing PREP stage to bootz and correct image handling
authorSimon Glass <sjg@chromium.org>
Thu, 4 Jul 2013 20:26:11 +0000 (13:26 -0700)
committerTom Rini <trini@ti.com>
Wed, 10 Jul 2013 13:15:14 +0000 (09:15 -0400)
commitfb1b139bb79741e361bae421ece69d305b68d302
treee96de5dd09c493055eccde1a9ee47cdbe88cf230
parenta5266d6b5d3d94bbbf7fed572a96aa0e90ff4199
bootm: Add the missing PREP stage to bootz and correct image handling

In the recent bootm refactor, the PREP stage was missing in the bootz
command. This causes unpredictable behaviour.

The use of a local variable means that the reset of cmd_bootm.c does not
in fact use the same image structure, so remove this.

Also manually set the OS type to Linux, since this is the only possibility
at present, and we need to select the right boot function.

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