projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
899a9de
)
cmd: booti: Store OS start and end info in images structure
author
Lokesh Vutla
<lokeshvutla@ti.com>
Mon, 7 Oct 2019 08:22:16 +0000
(13:52 +0530)
committer
Tom Rini
<trini@konsulko.com>
Fri, 25 Oct 2019 21:33:21 +0000
(17:33 -0400)
Store the start and end of the OS image that is loaded in images
structure.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
cmd/booti.c
patch
|
blob
|
history
diff --git
a/cmd/booti.c
b/cmd/booti.c
index c36b0235df8c79aea703a3bacdbda1c636858fac..841eff10d139641337de01a1aac061ed9105e56c 100644
(file)
--- 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));
/*