summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga
diff options
context:
space:
mode:
authorLey Foon Tan <ley.foon.tan@intel.com>2020-04-07 10:43:14 +0300
committerMarek Vasut <marex@denx.de>2020-04-13 14:49:51 +0300
commit3958ef307e09a28ce649dd7d6e0cb398996dcaa5 (patch)
treed64b1df7a804aa05c1c89ae4efe55094c7fae790 /arch/arm/mach-socfpga
parent5feb5e32159f9ac516921718cd60edd211133e7d (diff)
downloadu-boot-3958ef307e09a28ce649dd7d6e0cb398996dcaa5.tar.xz
arm: socfpga: arria10: Enable cache driver in SPL
Adding "u-boot,dm-pre-reloc" and enable CONFIG_SPL_CACHE to enable cache driver in SPL. This fixed error below in SPL: cache controller driver NOT found! Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'arch/arm/mach-socfpga')
-rw-r--r--arch/arm/mach-socfpga/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index 38d6c1b2ba..a3699e82a1 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -46,6 +46,7 @@ config TARGET_SOCFPGA_ARRIA10
bool
select SPL_ALTERA_SDRAM
select SPL_BOARD_INIT if SPL
+ select SPL_CACHE if SPL
select CLK
select SPL_CLK if SPL
select DM_I2C