[U-Boot] [PATCH 1/7] mtd: spi: Add the SPI_FLASH config to Kconfig
Joe Hershberger
joe.hershberger at ni.com
Mon Jun 22 23:15:24 CEST 2015
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 at ni.com>
---
drivers/mtd/spi/Kconfig | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig
index ac6d09f..40a7981 100644
--- a/drivers/mtd/spi/Kconfig
+++ b/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
--
1.7.11.5
More information about the U-Boot
mailing list