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

Signed-off-by: Simon Glass <[email protected]>
---

(no changes since v1)

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

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
-- 
2.39.1.581.gbfd45094c4-goog

Reply via email to