diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-06-22 16:15:24 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-06-25 17:04:43 -0400 |
commit | 22e04faaab13dea12975d9be99491db7ddff8bdd (patch) | |
tree | a3ceb0d72d5242d5a75ec5abfd5c706d9c404636 /drivers | |
parent | 9f1b4456c9076279a92005acb821e7bd3fc01880 (diff) | |
download | u-boot-22e04faaab13dea12975d9be99491db7ddff8bdd.tar.gz |
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')
-rw-r--r-- | drivers/mtd/spi/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mtd/spi/Kconfig b/drivers/mtd/spi/Kconfig index ac6d09f928..40a7981bd5 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 |