]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: set malloc pool size to 0 before relocation in spl state on rk3036 based...
authorAndy Yan <andy.yan@rock-chips.com>
Mon, 24 Jul 2017 09:50:46 +0000 (17:50 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 27 Jul 2017 12:59:04 +0000 (14:59 +0200)
commitb659a5663768b93c2931209d3520ae9feeb0623d
tree4a0db273e632a82b766074d978b69733fb061187
parent33641f3d689fb83fdd7b739c755cdd8d71dc8c25
rockchip: set malloc pool size to 0 before relocation in spl state on rk3036 based board

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>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
configs/evb-rk3036_defconfig
configs/kylin-rk3036_defconfig