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>
This commit is contained in:
Simon Glass
2021-08-08 12:20:15 -06:00
committed by Tom Rini
parent ea2ca7e17e
commit de213c71a3
2 changed files with 1 additions and 8 deletions

View File

@@ -495,7 +495,7 @@ config SPL_FIT_IMAGE_TINY
ensure this information is available to the next image ensure this information is available to the next image
invoked). invoked).
config SPL_CACHE_SUPPORT config SPL_CACHE
bool "Support CACHE drivers" bool "Support CACHE drivers"
help help
Enable CACHE drivers in SPL. These drivers can keep data so that Enable CACHE drivers in SPL. These drivers can keep data so that
@@ -808,12 +808,6 @@ config SPL_UBI
README.ubispl for more info. README.ubispl for more info.
if SPL_DM 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 config SPL_DM_SPI
bool "Support SPI DM drivers in SPL" bool "Support SPI DM drivers in SPL"
help help

View File

@@ -37,7 +37,6 @@ ifndef CONFIG_TPL_BUILD
ifdef CONFIG_SPL_BUILD ifdef CONFIG_SPL_BUILD
obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/ obj-$(CONFIG_SPL_BOOTCOUNT_LIMIT) += bootcount/
obj-$(CONFIG_SPL_CACHE_SUPPORT) += cache/
obj-$(CONFIG_SPL_CPU) += cpu/ obj-$(CONFIG_SPL_CPU) += cpu/
obj-$(CONFIG_SPL_CRYPTO) += crypto/ obj-$(CONFIG_SPL_CRYPTO) += crypto/
obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/ obj-$(CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT) += ddr/fsl/