]> git.sur5r.net Git - u-boot/commit
rockchip: correct the bank0 ram size
authorKever Yang <kever.yang@rock-chips.com>
Fri, 23 Jun 2017 08:11:11 +0000 (16:11 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 10:13:45 +0000 (12:13 +0200)
commit975e4abad2fabfb8aa3f0391e0ef07cc3aede905
tree33709601143f118432d377c93cae3ad825d43dbd
parentc541a7a12a233f3c77290ae6359c94fee9838e00
rockchip: correct the bank0 ram size

The bank0 ram size should be the DRAM size minus reserved size,
the DRAM size may be 1GB, 2GB, 4GB, we can not hard code it.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Added DECLARE_GLOBAL_DATA_PTR for RK3328, RK3368 and RK3399:
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/rk3328/rk3328.c
arch/arm/mach-rockchip/rk3368/rk3368.c
arch/arm/mach-rockchip/rk3399/rk3399.c
board/geekbuying/geekbox/geekbox.c
board/rockchip/evb_px5/evb-px5.c
board/rockchip/evb_rk3328/evb-rk3328.c
board/rockchip/evb_rk3399/evb-rk3399.c
board/rockchip/sheep_rk3368/sheep_rk3368.c
board/theobroma-systems/puma_rk3399/puma-rk3399.c