
18 Jul
2017
18 Jul
'17
4 p.m.
On 12 July 2017 at 20:28, Andy Yan andy.yan@rock-chips.com wrote:
RK3036 only has 4kb sram, the spl code will use 3.4 ~ 3.5 kb, the last 0.5kb are used for SP and GD, so there is no space for malloc. Also, the spl will directly return to bootrom after dram initialized, they never need the space for malloc.
Signed-off-by: Andy Yan andy.yan@rock-chips.com
Changes in v2:
- set spl pre relocation malloc pool by CONFIG_SPL_SYS_MALLOC_F_LEN
configs/evb-rk3036_defconfig | 1 + configs/kylin-rk3036_defconfig | 1 + 2 files changed, 2 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org