bootm: Store OS start and end info in images structure
Store the start and end of the OS image that is loaded in images structure. This is similar to what we do in booti. Signed-off-by: Andrew F. Davis <afd@ti.com>
This commit is contained in:
parent
571719cb25
commit
f1dc3f7831
|
|
@ -397,6 +397,9 @@ static int bootm_load_os(bootm_headers_t *images, int boot_progress)
|
|||
|
||||
flush_cache(flush_start, ALIGN(load_end, ARCH_DMA_MINALIGN) - flush_start);
|
||||
|
||||
images->os.start = load;
|
||||
images->os.end = load_end;
|
||||
|
||||
debug(" kernel loaded at 0x%08lx, end = 0x%08lx\n", load, load_end);
|
||||
bootstage_mark(BOOTSTAGE_ID_KERNEL_LOADED);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue