Correct a comment... the stack used by ubldr is the same stack u-boot was
running on when it jumped to the ubldr entry point. None of the arches that use this code set up a different stack in their start.S routines.
This commit is contained in:
parent
b7e79ebdd0
commit
1982abfd4a
@ -416,7 +416,9 @@ main(int argc, char **argv)
|
||||
|
||||
/*
|
||||
* Initialise the heap as early as possible. Once this is done,
|
||||
* alloc() is usable. The stack is buried inside us, so this is safe.
|
||||
* alloc() is usable. We are using the stack u-boot set up near the top
|
||||
* of physical ram; hopefully there is sufficient space between the end
|
||||
* of our bss and the bottom of the u-boot stack to avoid overlap.
|
||||
*/
|
||||
uboot_heap_start = round_page((uintptr_t)end);
|
||||
uboot_heap_end = uboot_heap_start + 512 * 1024;
|
||||
|
Loading…
x
Reference in New Issue
Block a user