From f1dc3f78312c115e4a1195fa9c71eb89677dd52d Mon Sep 17 00:00:00 2001 From: "Andrew F. Davis" Date: Wed, 3 Jun 2020 05:03:29 +0000 Subject: 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 --- common/bootm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') diff --git a/common/bootm.c b/common/bootm.c index 167eea4a1e..be79e92064 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -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); -- cgit v1.2.3