[U-Boot] [U-Boot, v3, 06/10] rockchip: set malloc pool size to 0 before relocation in spl state on rk3036 based board

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Thu Jul 27 12:44:09 UTC 2017


> 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 at rock-chips.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
> 
> Changes in v3: None
> Changes in v2: None
> 
>  configs/evb-rk3036_defconfig   | 1 +
>  configs/kylin-rk3036_defconfig | 1 +
>  2 files changed, 2 insertions(+)
> 

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list