浏览代码

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 年之前
父节点
当前提交
22e04faaab
共有 1 个文件被更改,包括 9 次插入0 次删除
  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
 	bool "Enable Driver Model for SPI flash"
 	depends on DM && DM_SPI