summaryrefslogtreecommitdiff
path: root/drivers/cache
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 /drivers/cache
parent5a8fa095cb848c60c630a83edf30d4fc46101e90 (diff)
downloadu-boot-5c9c71b660a01d088ac66b7b8c1378915bcef68e.tar.gz
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 'drivers/cache')
-rw-r--r--drivers/cache/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cache/Makefile b/drivers/cache/Makefile
index 4a6458c602..924217044a 100644
--- a/drivers/cache/Makefile
+++ b/drivers/cache/Makefile
@@ -1,5 +1,5 @@
-obj-$(CONFIG_CACHE) += cache-uclass.o
+obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache-uclass.o
obj-$(CONFIG_SANDBOX) += sandbox_cache.o
obj-$(CONFIG_L2X0_CACHE) += cache-l2x0.o
obj-$(CONFIG_V5L2_CACHE) += cache-v5l2.o