spl: Allow cache drivers to be used in SPL
PATCH v2 1/1 spl: Allow cache drivers to be used in SPL
Add an option for building cache drivers in SPL.
Signed-off-by Ley Foon Tan <[email protected]>
---
v2:
- Added "depends on CACHE" to SPL_CACHE.
- Change to use $(CONFIG_$(SPL_TPL_)CACHE) to enable cache DM build.
--- common/spl/Kconfig | 6 ++++++ drivers/Makefile | 1 + drivers/cache/Makefile | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-)
common/spl/Kconfig +6 -0
@@ -714,6 +714,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
drivers/Makefile +1 -0
@@ -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/
drivers/cache/Makefile +1 -1
@@ -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
Signature · 1 line
2.19.0
PATCH v2 1/1 spl: Allow cache drivers to be used in SPL
Quoted 4 lines · Ley Foon Tan
Add an option for building cache drivers in SPL.
Signed-off-by Ley Foon Tan <[email protected]>
Reviewed-by Tom Rini <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191202/26375fd5/attachment.sig>
PATCH v2 1/1 spl: Allow cache drivers to be used in SPL
Am 02.12.2019 um 17:01 schrieb Tom Rini:
Quoted 9 lines · Ley Foon Tan
Quoted 5 lines
Add an option for building cache drivers in SPL.
Signed-off-by Ley Foon Tan <[email protected]>Reviewed-by Tom Rini <[email protected]>
Reviewed-by Simon Goldschmidt <[email protected]>
PATCH v2 1/1 spl: Allow cache drivers to be used in SPL
In reply to Ley Foon TanQuoted 5 lines · Ley Foon Tan
Add an option for building cache drivers in SPL.
Signed-off-by Ley Foon Tan <[email protected]>Reviewed-by Tom Rini <[email protected]>Reviewed-by Simon Goldschmidt <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200123/e29694b6/attachment.sig>