u-boot/arch/arm
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
..
cpu freescale/layerscape: Rename the config CONFIG_SECURE_BOOT name 2019-11-08 16:32:08 +05:30
dts rockchip: rk3308: Add dts for ROC-RK3308-CC 2019-11-17 17:22:53 +08:00
include arm: rockchip: Add RK3308 SOC support 2019-11-17 17:22:53 +08:00
lib spl: separate SPL_FRAMEWORK config for spl and tpl 2019-11-17 17:22:53 +08:00
mach-aspeed
mach-at91 ARM: at91: Add SFR definitions 2019-10-08 09:16:11 +03:00
mach-bcm283x lib: time: Add microsecond timer 2019-10-31 07:22:53 -04:00
mach-bcmstb
mach-davinci ARM: omapl138_lcdk: Enable DM_GPIO and DM and GPIO Commands 2019-09-13 11:56:08 -04:00
mach-exynos CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-highbank
mach-imx imx: imx8m: fix boot when CONFIG_$(SPL_)CLK not defined 2019-11-05 10:27:18 +01:00
mach-integrator
mach-k3 arm: mach-k3: j721e_init: Initialize avs class 0 2019-11-07 18:39:17 -05:00
mach-keystone ARM: keystone: increase PSC timeout 2019-10-24 11:28:17 +02:00
mach-kirkwood env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
mach-mediatek board: mediatek: Add pumpkin board support 2019-07-29 09:32:11 -04:00
mach-meson ARM: meson: add SM1 SoC id 2019-10-18 14:21:17 +02:00
mach-mvebu arm: mvebu: Avoid generating kwbimage.cfg in the source tree 2019-10-29 16:17:36 -04:00
mach-omap2 arm: dra7xx: Hang on any failure during IOdelay recalibration 2019-10-11 13:32:40 -04:00
mach-orion5x
mach-owl
mach-qemu
mach-rmobile spl: Allow tiny printf() to be controlled in SPL and TPL 2019-10-08 13:57:45 +08:00
mach-rockchip rockchip: allow DRAM init in SPL 2019-11-17 18:54:29 +08:00
mach-s5pc1xx CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-snapdragon
mach-socfpga arm: socfpga: gen5: fix ERR_PTR_OFFSET 2019-11-07 18:01:13 -05:00
mach-sti
mach-stm32 mach-stm32: Fix MPU region size dedicated to SDRAM for STM32F4 2019-06-28 09:45:27 +02:00
mach-stm32mp bsec: update after MISC u-class update 2019-08-27 11:19:23 +02:00
mach-sunxi sunxi: set PIO voltage to hardware-detected value on startup on H6 2019-10-25 14:40:34 +05:30
mach-tegra Revert "ARM: tegra: reserve unmapped RAM so EFI doesn't use it" 2019-10-06 16:02:37 +02:00
mach-uniphier dm: core: Add device_foreach_child() 2019-10-08 13:57:39 +08:00
mach-versal arm64: xilinx: Move firmware functions from platform to driver 2019-10-24 13:37:01 +02:00
mach-versatile
mach-zynq CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-zynqmp arm64: zynqmp: Convert invoke_smc() to xilinx_pm_request() 2019-10-24 13:37:01 +02:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk
Kconfig arm: add initial support for the Phytium Durian Board 2019-11-07 18:01:13 -05:00
Kconfig.debug
Makefile