MTD Maps driver for Sharp LH7a40x
PATCH 1/1 MTD Maps driver for Sharp LH7a40x
This is the MTD patch.
drivers/mtd/maps/Kconfig +8 -0
@@ -421,6 +421,14 @@ Excalibur XA10 Development Board. If you are building a kernel for on of these boards then you should say 'Y' otherwise say 'N'. +config MTD_LPD7A40X + tristate "CFI Flash device mapped on Logic PD LH7A40X-10 Card Engines" + depends on (MACH_LPD7A400 || MACH_LPD7A404) && MTD_CFI_INTELEXT && MTD_PARTITIONS + help + This provides a driver for the on-board flash of the Logic PD + LH7A40X-10 Card Engines. Static partition mappings + correspond to the BLOB loader's layout. + config MTD_FORTUNET tristate "CFI Flash device mapped on the FortuNet board" depends on ARM && MTD_CFI && MTD_PARTITIONS && SA1100_FORTUNET
drivers/mtd/maps/Makefile +1 -0
@@ -56,3 +56,4 @@ obj-$(CONFIG_MTD_ARCTIC) += arctic-mtd.o obj-$(CONFIG_MTD_H720X) += h720x-flash.o obj-$(CONFIG_MTD_IXP4XX) += ixp4xx.o +obj-$(CONFIG_MTD_LPD7A40X) += lpd7a400-flash.o
drivers/mtd/maps/lpd7a400-flash.c new file +171 -0
171 lines not on this page · raw message
Hello Marc,
Quoted 1 line · Marc Singer
This is the MTD patch.
Please clean up the code from unused code inside #if 0 / #endifs and comments. Is there more than one chip on the board ? If not, then the whole for / array stuff is unneccecary and makes it just hard to understand.
Signature · 11 lines
Thomas _____________________________________________________________________ From slash dot org "When customers are visiting, engineers are not allowed to wear ties. That way the customer can tell who is the engineer and who is the salesman (and therefore whom to believe.). Ties cut off blood flow to the brain, making it easier for the salesmen to do their jobs." _____________________________________________________________________ linutronix - competence in embedded & realtime linux http://www.linutronix.de mail: [email protected]