Skip to content
Snippets Groups Projects
Commit fb1b139b authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent a5266d6b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment