diff mbox series

[v3,17/95] boot: Add a Kconfig for SPL_BOOTDEV_SPI_FLASH

Message ID 20230212231638.1134219-18-sjg@chromium.org
State RFC
Delegated to: Tom Rini
Headers show
Series RFC: Migrate to split config | expand

Commit Message

Simon Glass Feb. 12, 2023, 11:15 p.m. UTC
This is implicitly used in the source and seems useful, so add it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

(no changes since v1)

 drivers/mtd/spi/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index a9617c6c58c..764a9393d7d 100644
--- a/drivers/mtd/spi/Kconfig
+++ b/drivers/mtd/spi/Kconfig
@@ -88,6 +88,10 @@  config BOOTDEV_SPI_FLASH
 
 	  If unsure, say N
 
+config SPL_BOOTDEV_SPI_FLASH
+	def_bool n  # SPI Flash bootdev support (SPL)
+	depends on SPL_SPI_FLASH_SUPPORT
+
 config SPI_FLASH_SFDP_SUPPORT
 	bool "SFDP table parsing support for SPI NOR flashes"
 	depends on !SPI_FLASH_BAR