Browse Source

mtd: spi: Add the SPI_FLASH config to Kconfig

This config needs to be available in the Kconfig to allow it to be
removed from arch defaults.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Joe Hershberger 10 years ago
parent
commit
22e04faaab
1 changed files with 9 additions and 0 deletions
  1. 9 0
      drivers/mtd/spi/Kconfig

+ 9 - 0
drivers/mtd/spi/Kconfig

@@ -1,3 +1,12 @@
+config SPI_FLASH
+	bool "Enable SPI Flash support"
+	help
+	  Enable the legacy SPI flash support. This will include basic
+	  standard support for things like probing, read / write, and
+	  erasing through the MTD layer.
+
+	  If unsure, say N
+
 config DM_SPI_FLASH
 config DM_SPI_FLASH
 	bool "Enable Driver Model for SPI flash"
 	bool "Enable Driver Model for SPI flash"
 	depends on DM && DM_SPI
 	depends on DM && DM_SPI