u-boot-brain/arch
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
..
arc arc: emsdp/iotdk: Switch to DM_MMC 2019-11-01 16:45:40 +03:00
arm rockchip: allow DRAM init in SPL 2019-11-17 18:54:29 +08:00
m68k env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
microblaze microblaze: Fix tab indentation in start.S 2019-10-24 13:37:03 +02:00
mips mips: mtmips: select essential drivers in Kconfig 2019-10-25 17:20:44 +02:00
nds32 env: Drop environment.h header file where not needed 2019-08-11 16:43:41 -04:00
nios2
powerpc spl: separate SPL_FRAMEWORK config for spl and tpl 2019-11-17 17:22:53 +08:00
riscv RISC-V: Align boot image header with Linux 2019-10-18 09:04:19 +08:00
sandbox Fix for patman with email addresses containing commas 2019-11-01 09:34:35 -04:00
sh sh: r2dplus: Fix missing PCI range 2019-09-14 21:28:55 +02:00
x86 x86: Quieten TPL's jump_to_image_no_args() 2019-11-03 07:20:29 +08:00
xtensa env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
.gitignore
Kconfig sh: r2dplus: Enable OF control 2019-09-02 17:38:43 +02:00