Skip to content
Snippets Groups Projects
Commit 396f635b authored by Kumar Gala's avatar Kumar Gala Committed by Wolfgang Denk
Browse files

bootm: refactor image detection and os load steps


Created a bootm_start() that handles the parsing and detection of all
the images that will be used by the bootm command (OS, ramdisk, fdt).
As part of this we now tract all the relevant image offsets in the
bootm_headers_t struct. This will allow us to have all the needed
state for future sub-commands and lets us reduce a bit of arch
specific code on SPARC.

Created a bootm_load_os() that deals with decompression and loading
the OS image.

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent e906cfae
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