diff options
author | Thomas Hebb <tommyhebb@gmail.com> | 2019-11-15 08:48:55 -0800 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-11-17 18:51:25 +0800 |
commit | 220697a3174c080dd45c0435f5c9e78fb2de8299 (patch) | |
tree | a3b359cace2435b0f1daa30c32ea8d6dce44c60b /arch/arm/mach-tegra/emc.c | |
parent | 7f08bfb74f0417c5791787c8adb7c7d2217d8492 (diff) |
rockchip: SPL: fix ordering of DRAM init
The common SPL code reordered the DRAM initialization before
rockchip_stimer_init(), which as far as I can tell causes the RK3399 to
lock up completely.
Fix this issue in the common code by putting the DRAM init back after
timer init. I have only tested this on the RK3399, but it wouldn't make
any sense for the timer init to require DRAM be set up on any system.
Fixes: b7abef2ecbcc ("rockchip: rk3399: Migrate to use common spl board file")
Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/mach-tegra/emc.c')
0 files changed, 0 insertions, 0 deletions