Commit 22e04faaab13dea12975d9be99491db7ddff8bdd

Authored by Joe Hershberger
Committed by Tom Rini
1 parent 9f1b4456c9

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>

Showing 1 changed file with 9 additions and 0 deletions Side-by-side Diff

drivers/mtd/spi/Kconfig
  1 +config SPI_FLASH
  2 + bool "Enable SPI Flash support"
  3 + help
  4 + Enable the legacy SPI flash support. This will include basic
  5 + standard support for things like probing, read / write, and
  6 + erasing through the MTD layer.
  7 +
  8 + If unsure, say N
  9 +
1 10 config DM_SPI_FLASH
2 11 bool "Enable Driver Model for SPI flash"
3 12 depends on DM && DM_SPI