u-boot/arch/arm/mach-rockchip
Thomas Hebb 220697a317 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: b7abef2ecb ("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>
2019-11-17 18:51:25 +08:00
..
px30 rockchip: add px30 architecture core 2019-11-17 17:23:24 +08:00
rk322x rockchip: adding the missing "/" in entries of boot_devices 2019-11-10 20:40:20 +08:00
rk3036 ram: rockchip: rename sdram_common.c/h to sdram.c 2019-11-17 16:23:56 +08:00
rk3128 rockchip: sdram_common: add common dram_init_banksize 2019-07-29 10:26:28 +08:00
rk3188 rockchip: adding the missing "/" in entries of boot_devices 2019-11-10 20:40:20 +08:00
rk3288 ram: rockchip: rename sdram_common.c/h to sdram.c 2019-11-17 16:23:56 +08:00
rk3308 rockchip: rk3308: Add support for ROC-RK3308-CC board 2019-11-17 17:22:53 +08:00
rk3328 rockchip: adding the missing "/" in entries of boot_devices 2019-11-10 20:40:20 +08:00
rk3368 rockchip: adding the missing "/" in entries of boot_devices 2019-11-10 20:40:20 +08:00
rk3399 rockchip: rk3399: split rockpro64 out of evb_rk3399 2019-11-17 17:22:53 +08:00
rv1108 rockchip: rv1108: Migrate to use common board file 2019-07-29 10:27:48 +08:00
board.c rockchip: Init driver otg_data for rk3288 usb phy 2019-11-17 17:22:53 +08:00
boot_mode.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
bootrom.c rockchip: use 'arch-rockchip' as header file path 2019-05-01 00:00:05 +02:00
fit_spl_optee.its rockchip: fit_spl_optee: rockchip: fix warning unit_address_vs_reg 2019-07-29 10:25:27 +08:00
Kconfig arm: rockchip: Add RK3308 SOC support 2019-11-17 17:22:53 +08:00
make_fit_atf.py rockchip: make_fit_atf.py: allow inclusion of a tee binary 2019-11-10 20:40:20 +08:00
Makefile arm: rockchip: Add RK3308 SOC support 2019-11-17 17:22:53 +08:00
misc.c rockchip: misc: read cpuid either from efuse or otp 2019-11-17 17:23:18 +08:00
px30-board-tpl.c rockchip: add px30 architecture core 2019-11-17 17:23:24 +08:00
rk3036-board-spl.c rockchip: rk3036: use ARM arch timer instead of rk_timer 2019-07-20 23:59:44 +08:00
sdram.c rockchip: sdram: update the sys_reg to sys_reg2 2019-11-17 16:23:56 +08:00
spl-boot-order.c rockchip: spi-boot-order: Trival fix to newline missing 2019-09-19 09:35:31 +08:00
spl.c rockchip: SPL: fix ordering of DRAM init 2019-11-17 18:51:25 +08:00
tpl.c spl: pass args to board_return_to_bootrom 2019-10-08 16:35:16 +02:00
u-boot-tpl-v8.lds rockchip: add u-boot-tpl-v8.lds 2019-05-08 17:34:12 +08:00
u-boot-tpl.lds rockchip: rk322x: add tpl support 2019-05-08 17:34:12 +08:00