u-boot-brain/arch/arm/mach-rockchip
Thomas Hebb 857d638ca6 rockchip: allow DRAM init in SPL
The common SPL removed SoC-specific code for RK3399's SPL and in the
process caused the previously-unconditional DRAM initialization in
board_init_f() to only happen when compiling a configuration that does not
support TPL, meaning DRAM never gets initialized if TPL is supported but
disabled.

Fix this by omitting the DRAM init in SPL only when we are configured to
also build a TPL. This fixes custom configurations that have disabled
TPL, and it should also unbreak the "ficus-rk3399", "rock960-rk3399",
and "chromebook_bob" defconfigs, although since I don't have any of
those devices I can't confirm they're broken now.

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:54:29 +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: allow DRAM init in SPL 2019-11-17 18:54:29 +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