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>
This commit is contained in:
parent
899a9de3e4
commit
683cdd6837
@ -48,6 +48,9 @@ static int booti_start(cmd_tbl_t *cmdtp, int flag, int argc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
images->ep = relocated_addr;
|
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));
|
lmb_reserve(&images->lmb, images->ep, le32_to_cpu(image_size));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user