]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: spi: Add a new option SPL_SPI_FLASH_MTD to Kconfig
authorFrieder Schrempf <frieder.schrempf@kontron.de>
Fri, 13 Sep 2019 22:43:42 +0000 (22:43 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 24 Oct 2019 19:18:31 +0000 (00:48 +0530)
To allow SPI_FLASH_MTD being enabled separately in SPL we add a new
option. The only user currently is the stm32mp15_basic board.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Acked-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/Kconfig

index 681dc9ccccff18fdc699d29331a88b970fe2c9a7..d77f818505ac7afdf4a2749aa86cc2d9abe6fd94 100644 (file)
@@ -196,4 +196,12 @@ config SPI_FLASH_MTD
 
          If unsure, say N
 
+config SPL_SPI_FLASH_MTD
+       bool "SPI flash MTD support for SPL"
+       depends on SPI_FLASH
+       help
+          Enable the MTD support for the SPI flash layer in SPL.
+
+         If unsure, say N
+
 endmenu # menu "SPI Flash Support"