summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-06-22 16:15:24 -0500
committerTom Rini <trini@konsulko.com>2015-06-25 17:04:43 -0400
commit22e04faaab13dea12975d9be99491db7ddff8bdd (patch)
treea3ceb0d72d5242d5a75ec5abfd5c706d9c404636 /drivers/mtd/spi
parent9f1b4456c9076279a92005acb821e7bd3fc01880 (diff)
downloadu-boot-imx-22e04faaab13dea12975d9be99491db7ddff8bdd.zip
u-boot-imx-22e04faaab13dea12975d9be99491db7ddff8bdd.tar.gz
u-boot-imx-22e04faaab13dea12975d9be99491db7ddff8bdd.tar.bz2
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>
Diffstat (limited to 'drivers/mtd/spi')
-rw-r--r--drivers/mtd/spi/Kconfig9
1 files changed, 9 insertions, 0 deletions
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