Support of PQ2FADS flash SIMM
PATCH 1/1 Support of PQ2FADS flash SIMM
[MTD] MAPS: map for sharp flash (jedec-compatible) on PQ2FADS-like board
This could be handled with the PHYSMAP driver (and config options), but such solution only works for the kernel builtin physmap driver case. This implementation supports both default static partition table as well as cmdline override.
Comments are welcome...
Signed-off-by Vitaly Bordug <[email protected]>
Signature · 1 line
Sincerely, Vitaly
drivers/mtd/maps/Kconfig +6 -0
@@ -523,6 +523,12 @@ config MTD_MPC1211 This enables access to the flash chips on the Interface MPC-1211(CTP/PCI/MPC-SH02). If you have such a board, say 'Y'. +config MTD_PQ2FADS + tristate "JEDEC flash SIMM mapped on PQ2FADS and 8272ADS boards" + depends on (ADS8272 || PQ2FADS) && MTD_PARTITIONS && MTD_JEDECPROBE && MTD_PHYSMAP && MTD_CFI_GEOMETRY && MTD_CFI_INTELEXT + help + This enables access to flash SIMM on PQ2FADS-like boards + config MTD_OMAP_NOR tristate "TI OMAP board mappings" depends on MTD_CFI && ARCH_OMAP
drivers/mtd/maps/Makefile +1 -0
@@ -26,6 +26,7 @@ obj-$(CONFIG_MTD_MAINSTONE) += mainstone obj-$(CONFIG_MTD_MBX860) += mbx860.o obj-$(CONFIG_MTD_CEIVA) += ceiva.o obj-$(CONFIG_MTD_OCTAGON) += octagon-5066.o +obj-$(CONFIG_MTD_PQ2FADS) += pq2fads.o obj-$(CONFIG_MTD_PHYSMAP) += physmap.o obj-$(CONFIG_MTD_PNC2000) += pnc2000.o obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o
drivers/mtd/maps/pq2fads.c new file +88 -0
88 lines not on this page · raw message