summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorLey Foon Tan <ley.foon.tan@intel.com>2019-10-11 13:48:33 +0800
committerMarek Vasut <marex@denx.de>2020-01-07 14:38:33 +0100
commit5c9c71b660a01d088ac66b7b8c1378915bcef68e (patch)
tree03182cd59e9c934a9de02ab091871455b077a830 /common
parent5a8fa095cb848c60c630a83edf30d4fc46101e90 (diff)
spl: Allow cache drivers to be used in SPL
Add an option for building cache drivers in SPL. Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index c527617e43..61488daa3c 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -731,6 +731,12 @@ config SPL_UBI
README.ubispl for more info.
if SPL_DM
+config SPL_CACHE
+ depends on CACHE
+ bool "Support cache drivers in SPL"
+ help
+ Enable support for cache drivers in SPL.
+
config SPL_DM_SPI
bool "Support SPI DM drivers in SPL"
help