mtd: SST25L (non JEDEC) SPI Flash driver
PATCH 2/8 mtd: SST25L (non JEDEC) SPI Flash driver
From: Ryan Mallon <[email protected]>
Add support for the non JEDEC SST25L SPI Flash devices.
Signed-off-by Andre Renaud <[email protected]>
Signed-off-by Ryan Mallon <[email protected]>
Acked-by Linus Walleij <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Anton Vorontsov <[email protected]>
Cc "H Hartley Sweeten" <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/mtd/devices/Kconfig | 10 drivers/mtd/devices/Makefile | 1 drivers/mtd/devices/sst25l.c | 510 +++++++++++++++++++++++++++++++++ 3 files changed, 521 insertions(+)
drivers/mtd/devices/Kconfig renamed from drivers/mtd/devices/Kconfig~mtd-sst25l-non-jedec-spi-flash-driver +10 -0
@@ -104,6 +104,16 @@ config M25PXX_USE_FAST_READ help This option enables FAST_READ access supported by ST M25Pxx. +config MTD_SST25L + tristate "Support SST25L (non JEDEC) SPI Flash chips" + depends on SPI_MASTER + help + This enables access to the non JEDEC SST25L SPI flash chips, used + for program and data storage. + + Set up your spi devices with the right board-specific platform data, + if you want to specify device partitioning. + config MTD_SLRAM tristate "Uncached system RAM" help
drivers/mtd/devices/Makefile renamed from drivers/mtd/devices/Makefile~mtd-sst25l-non-jedec-spi-flash-driver +1 -0
@@ -16,3 +16,4 @@ obj-$(CONFIG_MTD_LART) += lart.o obj-$(CONFIG_MTD_BLOCK2MTD) += block2mtd.o obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o obj-$(CONFIG_MTD_M25P80) += m25p80.o +obj-$(CONFIG_MTD_SST25L) += sst25l.o
drivers/mtd/devices/sst25l.c new file +510 -0
510 lines not on this page · raw message
_
Quoted 11 lines · On Thu, 2009-08-06 at 16:05 -0700, [email protected] wrote:
From: Ryan Mallon <[email protected]>
Add support for the non JEDEC SST25L SPI Flash devices.
Signed-off-by Andre Renaud <[email protected]>Signed-off-by Ryan Mallon <[email protected]>Acked-by Linus Walleij <[email protected]>Cc David Woodhouse <[email protected]>Cc Anton Vorontsov <[email protected]>Cc "H Hartley Sweeten" <[email protected]>Signed-off-by Andrew Morton <[email protected]>
This one is in my l2-mtd-2.6.git.
Signature · 2 lines
Best Regards, Artem Bityutskiy (Артём Битюцкий)