Skip to contentSkip to conversation

mtd: RBTX4939: add MTD support

PATCH In review [email protected] 1 participant 1 message Mar 4, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 5/15 mtd: RBTX4939: add MTD support

From: Atsushi Nemoto <[email protected]>

Add platform support for NOR flash chips on RBTX4939 board. This board has complex flash mappings, controlled by its DIPSW setting.

---

 arch/mips/include/asm/txx9/rbtx4939.h |    9 +
 arch/mips/txx9/rbtx4939/setup.c       |  157 ++++++++++++++++++++++++
 2 files changed, 166 insertions(+)
arch/mips/include/asm/txx9/rbtx4939.h renamed from arch/mips/include/asm/txx9/rbtx4939.h~mtd-rbtx4939-add-mtd-support +9 -0
diff -puN arch/mips/include/asm/txx9/rbtx4939.h~mtd-rbtx4939-add-mtd-support arch/mips/include/asm/txx9/rbtx4939.h
@@ -130,4 +130,13 @@
 void rbtx4939_prom_init(void);
 void rbtx4939_irq_setup(void);
 
+struct mtd_partition;
+struct map_info;
+struct rbtx4939_flash_data {
+	unsigned int width;
+	unsigned int nr_parts;
+	struct mtd_partition *parts;
+	void (*map_init)(struct map_info *map);
+};
+
 #endif /* __ASM_TXX9_RBTX4939_H */
arch/mips/txx9/rbtx4939/setup.c renamed from arch/mips/txx9/rbtx4939/setup.c~mtd-rbtx4939-add-mtd-support +157 -0

175 lines not on this page · raw message

_