diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-08-19 09:55:11 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-10-11 11:18:42 -0400 |
commit | 51f607c76e1e7bd089dcad97b6b0a58649be06a3 (patch) | |
tree | bcf9389a1e3bcd347d7c560163d2c014d804a162 /include/asm-mips/txx9/generic.h | |
parent | c7b95bcb38ea492fd025008ef99501a2b90aa237 (diff) |
MIPS: TXx9: Add mtd support
Add helper routines to register physmap-flash platform devices for NOR
flashes.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/txx9/generic.h')
-rw-r--r-- | include/asm-mips/txx9/generic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/txx9/generic.h b/include/asm-mips/txx9/generic.h index 0a225bf73496..1982c4437b1d 100644 --- a/include/asm-mips/txx9/generic.h +++ b/include/asm-mips/txx9/generic.h | |||
@@ -59,4 +59,8 @@ static inline void txx9_sio_putchar_init(unsigned long baseaddr) | |||
59 | } | 59 | } |
60 | #endif | 60 | #endif |
61 | 61 | ||
62 | struct physmap_flash_data; | ||
63 | void txx9_physmap_flash_init(int no, unsigned long addr, unsigned long size, | ||
64 | const struct physmap_flash_data *pdata); | ||
65 | |||
62 | #endif /* __ASM_TXX9_GENERIC_H */ | 66 | #endif /* __ASM_TXX9_GENERIC_H */ |