1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-04-12 03:10:00 +02:00
Files
u-boot-megous/arch
Ye Li 528915c717 imx: Fix potential lmb memory overwritten by stack
At default, u-boot reserves the memory from SP - 4KB to DRAM end for
lmb in arch_lmb_reserve. So lmb won't allocate any memory from it.
But we found the 4K gap for SP is not enough now, because some FDT
updating operations are added in our u-boot before jumping to kernel,
which needs larger stack. This causes the lmb allocated memory is overwritten
by stack.

Fix the issue by implementing the board_lmb_reserve to reserve from
SP - 16KB to memory end for lmb.

Signed-off-by: Ye Li <ye.li@nxp.com>
2019-01-28 20:35:47 +01:00
..
2019-01-19 09:49:26 -05:00
2018-11-18 16:02:23 +01:00
2019-01-18 09:16:15 -05:00
2018-09-25 21:49:18 -04:00