[PATCH 006/171] boot: Add a Kconfig for SPL_BOOTDEV_SPI_FLASH

Simon Glass
2023-01-30T14:46:05Z

This is implicitly used in the source and seems useful, so add it.

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

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

diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index a9617c6c58c..949404c4a96 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"
+ 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
--
2.39.1.456.gfc5497dd1b-goog