rockchip: rk3288: Add SDRAM init
authorSimon Glass <sjg@chromium.org>
Sun, 30 Aug 2015 22:55:36 +0000 (16:55 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 3 Sep 2015 03:28:24 +0000 (21:28 -0600)
commit5ff093ab9e7c3baff3b2ecd589315b5351e3969f
tree951bdde6513aea868eef82ab4be0f17de6df8347
parentbb4e4a5d9670ae6e996c22b4fba31aafb2d2a362
rockchip: rk3288: Add SDRAM init

Add code to set up the SDRAM in SPL, ready for loading U-Boot. This uses
device tree for configuration so should be able to support other RAM
configurations. It may be possible to generalise the code to support other
SoCs at some point.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/ddr_rk3288.h [new file with mode: 0644]
arch/arm/include/asm/arch-rockchip/sdram.h [new file with mode: 0644]
arch/arm/mach-rockchip/rk3288/Makefile
arch/arm/mach-rockchip/rk3288/sdram_rk3288.c [new file with mode: 0644]