diff options
author | Mathias Kresin <dev@kresin.me> | 2021-11-14 17:11:14 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2021-11-14 20:15:50 +0100 |
commit | 9daf57d960d26001645d9c4e178e89257b813717 (patch) | |
tree | 69d64fc873f9f3b5c03baeeddec1c2b698397201 /package/boot/uboot-at91/patches | |
parent | e6f8cf622318e65a00a5322509707f3f25cef68e (diff) | |
download | upstream-9daf57d960d26001645d9c4e178e89257b813717.tar.gz upstream-9daf57d960d26001645d9c4e178e89257b813717.tar.bz2 upstream-9daf57d960d26001645d9c4e178e89257b813717.zip |
uboot-lantiq: reduce stack size
On lantiq a lot of stuff expects to be loaded to and executed at
0x80002000, including our own second stage bootloader.
For all build u-boots, the initial stack pointer is at 0x80008000. After
loading data to 0x80002000, every further stack operation corrupts the
loaded code.
Set the initial stack pointer to 0x80002000, to not overwrite code
loaded in memory. A stack of 0x2000 bytes has been proven as enough in
all done tests.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'package/boot/uboot-at91/patches')
0 files changed, 0 insertions, 0 deletions