aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/Kconfig
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-06-24 18:12:35 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2007-06-28 17:37:36 -0400
commitfa0a8c71f352d89c54f2d3a92f7a8a97cdb7d9a4 (patch)
tree76e6f0d1ffe0bd02d7d38c3f7c2902d0b140fe18 /drivers/mtd/devices/Kconfig
parent7d5230ea3987ea3eaa03601fe429cb69f87de3e3 (diff)
[MTD] m25p80 handles more chips, uses JEDEC ids and small eraseblocks
Update chip ID tables in m25p80 to handle more SPI flash chips, matching datasheets. All of these can use the same core operations and are newer chips that support the JEDEC "read id" instruction: - Atmel AT25 and AT26 (seven chips) - Spansion S25SL (five chips) - SST 25VF (four chips) - ST M25, M45 (five more chips) - Winbond W25X series (seven chips) That JEDEC instruction is now used, either to support a sanity check on the platform data holding board configuration data, or to determine chip type when it's not included in platform data. In fact, boards that don't need a standard partition table may not need that platform data any more. For chips that support 4KiB erase units, use that smaller block size instead of the larger size (usually 64KiB); it's less wasteful. (Tested on W25X80.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/devices/Kconfig')
-rw-r--r--drivers/mtd/devices/Kconfig17
1 files changed, 13 insertions, 4 deletions
diff --git a/drivers/mtd/devices/Kconfig b/drivers/mtd/devices/Kconfig
index ff642f8fbee7..b4ea64dc9360 100644
--- a/drivers/mtd/devices/Kconfig
+++ b/drivers/mtd/devices/Kconfig
@@ -69,12 +69,21 @@ config MTD_DATAFLASH26
69 If you have such a board and such a DataFlash, say 'Y'. 69 If you have such a board and such a DataFlash, say 'Y'.
70 70
71config MTD_M25P80 71config MTD_M25P80
72 tristate "Support for M25 SPI Flash" 72 tristate "Support most SPI Flash chips (AT26DF, M25P, W25X, ...)"
73 depends on SPI_MASTER && EXPERIMENTAL 73 depends on SPI_MASTER && EXPERIMENTAL
74 help 74 help
75 This enables access to ST M25P80 and similar SPI flash chips, 75 This enables access to most modern SPI flash chips, used for
76 used for program and data storage. Set up your spi devices 76 program and data storage. Series supported include Atmel AT26DF,
77 with the right board-specific platform data. 77 Spansion S25SL, SST 25VF, ST M25P, and Winbond W25X. Other chips
78 are supported as well. See the driver source for the current list,
79 or to add other chips.
80
81 Note that the original DataFlash chips (AT45 series, not AT26DF),
82 need an entirely different driver.
83
84 Set up your spi devices with the right board-specific platform data,
85 if you want to specify device partitioning or to use a device which
86 doesn't support the JEDEC ID instruction.
78 87
79config MTD_SLRAM 88config MTD_SLRAM
80 tristate "Uncached system RAM" 89 tristate "Uncached system RAM"