Skip to contentSkip to conversation

mtd: SST25L (non JEDEC) SPI Flash driver

PATCH In review [email protected] 2 participants 2 messages Aug 6, 2009 – Aug 10, 2009 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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.

---

 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
diff -puN drivers/mtd/devices/Kconfig~mtd-sst25l-non-jedec-spi-flash-driver drivers/mtd/devices/Kconfig
@@ -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
diff -puN drivers/mtd/devices/Makefile~mtd-sst25l-non-jedec-spi-flash-driver drivers/mtd/devices/Makefile
@@ -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

_

#1 lore raw
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.

This one is in my l2-mtd-2.6.git.

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Артём Битюцкий)