mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
5a8fa095cb
commit
5c9c71b660
3 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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/
|
||||
|
|
2
drivers/cache/Makefile
vendored
2
drivers/cache/Makefile
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue