aboutsummaryrefslogtreecommitdiff
path: root/drivers/Makefile
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/Makefile
parent5a8fa095cb848c60c630a83edf30d4fc46101e90 (diff)
downloadu-boot-5c9c71b660a01d088ac66b7b8c1378915bcef68e.zip
u-boot-5c9c71b660a01d088ac66b7b8c1378915bcef68e.tar.gz
u-boot-5c9c71b660a01d088ac66b7b8c1378915bcef68e.tar.bz2
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/Makefile')
-rw-r--r--drivers/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index cb8c215..bfc5a25 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0+
+obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/
obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
obj-$(CONFIG_$(SPL_TPL_)DM) += core/
obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/