mtd: basic (read only) driver for BCMA serial flash
PATCH 1/1 mtd: basic (read only) driver for BCMA serial flash
This registers MTD driver for serial flash platform device. Right now it supports reading only, writing still has to be implemented. At this point it's marked as BROKEN, because it requires code present in net tree that wasn't mainlined yet.
---
Resending without RFC, after not receiving any.
--- drivers/mtd/devices/Kconfig | 8 +++ drivers/mtd/devices/Makefile | 1 + drivers/mtd/devices/bcm47xxsflash.c | 120 +++++++++++++++++++++++++++++++++++ 3 files changed, 129 insertions(+), 0 deletions(-) create mode 100644 drivers/mtd/devices/bcm47xxsflash.c
drivers/mtd/devices/Kconfig +8 -0
@@ -120,6 +120,14 @@ config MTD_SST25L Set up your spi devices with the right board-specific platform data, if you want to specify device partitioning. +config MTD_BCM47XXSFLASH + tristate "Support for serial flash on BCMA bus" + depends on BCMA_SFLASH && BROKEN + help + BCMA bus can have various flash memories attached, they are + registered by bcma as platform devices. This enables driver for + serial flash memories. + config MTD_SLRAM tristate "Uncached system RAM" help
drivers/mtd/devices/Makefile +1 -0
@@ -19,5 +19,6 @@ obj-$(CONFIG_MTD_DATAFLASH) += mtd_dataflash.o obj-$(CONFIG_MTD_M25P80) += m25p80.o obj-$(CONFIG_MTD_SPEAR_SMI) += spear_smi.o obj-$(CONFIG_MTD_SST25L) += sst25l.o +obj-$(CONFIG_MTD_BCM47XXSFLASH) += bcm47xxsflash.o CFLAGS_docg3.o += -I$(src)
drivers/mtd/devices/bcm47xxsflash.c new file +120 -0
120 lines not on this page · raw message
Signature · 1 line
1.7.7