rockchip: rk3368: add sdram driver for U-Boot
authorKever Yang <kever.yang@rock-chips.com>
Fri, 23 Jun 2017 08:11:08 +0000 (16:11 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 10:13:45 +0000 (12:13 +0200)
commitcc89369fb0055ec34a56becd8ecc8d0b9d77c801
tree6893f335905ec8809d6df1a2ab9cea274cf2afc3
parent39648e616711a749d99bd41f0448e5c92c4b2694
rockchip: rk3368: add sdram driver for 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/include/asm/arch-rockchip/grf_rk3368.h
arch/arm/mach-rockchip/rk3368/Makefile
arch/arm/mach-rockchip/rk3368/sdram_rk3368.c [new file with mode: 0644]