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/tx3927.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/tx3927.h')
-rw-r--r-- | include/asm-mips/txx9/tx3927.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/txx9/tx3927.h b/include/asm-mips/txx9/tx3927.h index 587deb9592d2..dc30c8d42061 100644 --- a/include/asm-mips/txx9/tx3927.h +++ b/include/asm-mips/txx9/tx3927.h | |||
@@ -325,6 +325,7 @@ struct tx3927_ccfg_reg { | |||
325 | #define TX3927_ROMC_BA(ch) (tx3927_romcptr->cr[(ch)] & 0xfff00000) | 325 | #define TX3927_ROMC_BA(ch) (tx3927_romcptr->cr[(ch)] & 0xfff00000) |
326 | #define TX3927_ROMC_SIZE(ch) \ | 326 | #define TX3927_ROMC_SIZE(ch) \ |
327 | (0x00100000 << ((tx3927_romcptr->cr[(ch)] >> 8) & 0xf)) | 327 | (0x00100000 << ((tx3927_romcptr->cr[(ch)] >> 8) & 0xf)) |
328 | #define TX3927_ROMC_WIDTH(ch) (32 >> ((tx3927_romcptr->cr[(ch)] >> 7) & 0x1)) | ||
328 | 329 | ||
329 | void tx3927_wdt_init(void); | 330 | void tx3927_wdt_init(void); |
330 | void tx3927_setup(void); | 331 | void tx3927_setup(void); |
@@ -335,5 +336,6 @@ void tx3927_pcic_setup(struct pci_controller *channel, | |||
335 | unsigned long sdram_size, int extarb); | 336 | unsigned long sdram_size, int extarb); |
336 | void tx3927_setup_pcierr_irq(void); | 337 | void tx3927_setup_pcierr_irq(void); |
337 | void tx3927_irq_init(void); | 338 | void tx3927_irq_init(void); |
339 | void tx3927_mtd_init(int ch); | ||
338 | 340 | ||
339 | #endif /* __ASM_TXX9_TX3927_H */ | 341 | #endif /* __ASM_TXX9_TX3927_H */ |