]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
mtd: spi: Add the SPI_FLASH config to Kconfig
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 22 Jun 2015 21:15:24 +0000 (16:15 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 25 Jun 2015 21:04:43 +0000 (17:04 -0400)
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>
drivers/mtd/spi/Kconfig

index ac6d09f9286909e7698aea7994f7cd2eeaec045f..40a7981bd53c31fed5edbbbc224929968b62b778 100644 (file)
@@ -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