aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2019-10-07 13:52:16 +0530
committerTom Rini <trini@konsulko.com>2019-10-25 17:33:21 -0400
commit683cdd6837e1be62be91a36937a6329b2ec6feb7 (patch)
treeeee118cf9850307fa98f5a6a0d86391a7400e717 /cmd
parent899a9de3e462d93d7c91f5205b41d4c41e01ccbb (diff)
downloadu-boot-683cdd6837e1be62be91a36937a6329b2ec6feb7.tar.gz
cmd: booti: Store OS start and end info in images structure
Store the start and end of the OS image that is loaded in images structure. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/booti.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/booti.c b/cmd/booti.c
index c36b0235df..841eff10d1 100644
--- a/cmd/booti.c
+++ b/cmd/booti.c
@@ -48,6 +48,9 @@ static int booti_start(cmd_tbl_t *cmdtp, int flag, int argc,
}
images->ep = relocated_addr;
+ images->os.start = relocated_addr;
+ images->os.end = relocated_addr + image_size;
+
lmb_reserve(&images->lmb, images->ep, le32_to_cpu(image_size));
/*