summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/Kconfig
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2015-05-28 17:56:07 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-05-29 09:10:38 +0200
commit04a2c84fda15659f1ad594c88ff67f239ab9f5a6 (patch)
tree39197c24d999d4f8b28bd406734e113be642ae12 /drivers/mtd/devices/Kconfig
parent1849bfb9c13b7f91159c0722bad4d16520990958 (diff)
downloadbarebox-04a2c84fda15659f1ad594c88ff67f239ab9f5a6.tar.gz
barebox-04a2c84fda15659f1ad594c88ff67f239ab9f5a6.tar.xz
mtd: m25p80: use the SPI nor framework
Use the spi-nor framework for the m25p80 driver to de-duplicate the code base and follow along with the linux kernel version, so bugfixes or features can be easier integrated. Based on the Linux v4.1-rc3 version of m25p80.c. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/devices/Kconfig')
-rw-r--r--drivers/mtd/devices/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig
index 7f9c306258..345c348c69 100644
--- a/drivers/mtd/devices/Kconfig
+++ b/drivers/mtd/devices/Kconfig
@@ -21,7 +21,7 @@ config MTD_DATAFLASH_WRITE_VERIFY
config MTD_M25P80
tristate "Support most SPI Flash chips (AT26DF, M25P, W25X, ...)"
- depends on SPI
+ depends on MTD_SPI_NOR
help
This enables access to most modern SPI flash chips, used for
program and data storage. Series supported include Atmel AT26DF,