summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-08 12:20:15 -0600
committerTom Rini <trini@konsulko.com>2021-09-04 12:26:02 -0400
commitde213c71a323ea823e21c72c3480c1931dcb3b44 (patch)
treeb2231d3d2fcf2432a8ec77e671d0ec8e3326b621
parentea2ca7e17ecfaeef010f8f60d05599da0fd6a519 (diff)
Rename CACHE_SUPPORT to CACHE
Rename this option so that CONFIG_IS_ENABLED can be used with it. Oddly there is already an SPL_CACHE option. Drop it in favour of this one. Drop the special SPL Makefile rule which is now superfluous. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--common/spl/Kconfig8
-rw-r--r--drivers/Makefile1
2 files changed, 1 insertions, 8 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index de0b0e4039..533ec905e6 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -495,7 +495,7 @@ config SPL_FIT_IMAGE_TINY
ensure this information is available to the next image
invoked).
-config SPL_CACHE_SUPPORT
+config SPL_CACHE
bool "Support CACHE drivers"
help
Enable CACHE drivers in SPL. These drivers can keep data so that
@@ -808,12 +808,6 @@ 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
diff --git a/drivers/Makefile b/drivers/Makefile
index 8d2d81346d..c53bf0d5a5 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -37,7 +37,6 @@ ifndef CONFIG_TPL_BUILD
ifdef CONFIG_SPL_BUILD
obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/
-obj-$(CONFIG_SPL_CACHE_SUPPORT) += cache/
obj-$(CONFIG_SPL_CPU) += cpu/
obj-$(CONFIG_SPL_CRYPTO) += crypto/
obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/