mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-16 04:01:31 +00:00
bloblist: Place on a 4KB boundary
It is much easier to read the bloblist addresses if it starts on a 4KB boundary. Update it to align it accordingly. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
28dc20f34a
commit
4a08fae196
1 changed files with 3 additions and 1 deletions
|
@ -573,7 +573,9 @@ static int reserve_stacks(void)
|
|||
static int reserve_bloblist(void)
|
||||
{
|
||||
#ifdef CONFIG_BLOBLIST
|
||||
gd->start_addr_sp = reserve_stack_aligned(CONFIG_BLOBLIST_SIZE);
|
||||
/* Align to a 4KB boundary for easier reading of addresses */
|
||||
gd->start_addr_sp = ALIGN_DOWN(gd->start_addr_sp - CONFIG_BLOBLIST_SIZE,
|
||||
0x1000);
|
||||
gd->new_bloblist = map_sysmem(gd->start_addr_sp, CONFIG_BLOBLIST_SIZE);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue