rockchip: rk3328: add sdram driver in U-Boot
authorKever Yang <kever.yang@rock-chips.com>
Fri, 23 Jun 2017 08:11:07 +0000 (16:11 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 10:13:44 +0000 (12:13 +0200)
commit39648e616711a749d99bd41f0448e5c92c4b2694
treefe11fa0aae4944e2728c5157e6f1d249c43d0a5f
parent7805cdf494beb0014590b8bc79338c02c3791f15
rockchip: rk3328: add sdram driver in U-Boot

Add sdram driver in U-Boot for get the correct sdram size from
sys_reg, so that U-Boot can co-work with Rockchip loader or SPL
to get different dram capability and then tell the kernel.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/rk3328/Makefile
arch/arm/mach-rockchip/rk3328/sdram_rk3328.c [new file with mode: 0644]