rockchip: rk322x: ram: enable DRAM init in SPL instead of TPL
authorKever Yang <kever.yang@rock-chips.com>
Tue, 4 Dec 2018 09:49:58 +0000 (17:49 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 10 Dec 2018 09:04:44 +0000 (10:04 +0100)
commitf338cca1d2bce906b049722d2fdbf527a4963b61
tree4f8079cc9fcfe75fb75d0b3464e26a1888d54868
parentcde578ff36b15ec9c2033f03b94ecf809af7cc64
rockchip: rk322x: ram: enable DRAM init in SPL instead of TPL

Patch for rk322x TPL is not merged, and only SPL is available now,
enable the sdram driver in SPL first. We should update back to TPL
after TPL is enabled for rk322x.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/ram/rockchip/sdram_rk322x.c