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

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

(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..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.519.gcb327c4b5f-goog

Reply via email to