aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/txx9
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2009-03-04 12:01:33 -0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-03-20 18:09:54 +0000
commitcbf77c1bd9c79d1742976862d0b2bebaff1ea14d (patch)
treebafc7ee03a3e562ff6ae15f66fced524011a705d /arch/mips/include/asm/txx9
parenta591f5d35e89be90c04830d7de01c276af68aeb7 (diff)
[MTD] RBTX4939: add MTD support
Add platform support for NOR flash chips on RBTX4939 board. This board has complex flash mappings, controlled by its DIPSW setting. [akpm@linux-foundation.org: Use min_t] Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Cc: Ralf Bächle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/mips/include/asm/txx9')
-rw-r--r--arch/mips/include/asm/txx9/rbtx4939.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/mips/include/asm/txx9/rbtx4939.h b/arch/mips/include/asm/txx9/rbtx4939.h
index 1acf428c0b4..e517899794a 100644
--- a/arch/mips/include/asm/txx9/rbtx4939.h
+++ b/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 */