diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-07-25 10:08:06 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-30 16:54:40 -0400 |
commit | 7779a5e07d33fe316fe468e7afe7975fb686a831 (patch) | |
tree | 05426226c35b46a938a555a37524307ceb1a22d7 /include/asm-mips | |
parent | bb72f1f729dcbd6a6a93c74479eeaa19deebfb47 (diff) |
[MIPS] TXx9: Unify serial_txx9 setup
* Unify calling of early_serial_txx9_setup.
* Use dedicated serial clock on RBTX4938.
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')
-rw-r--r-- | include/asm-mips/txx9/generic.h | 2 | ||||
-rw-r--r-- | include/asm-mips/txx9/tx3927.h | 2 | ||||
-rw-r--r-- | include/asm-mips/txx9/tx4927.h | 2 | ||||
-rw-r--r-- | include/asm-mips/txx9/tx4938.h | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/include/asm-mips/txx9/generic.h b/include/asm-mips/txx9/generic.h index c6b5cd6a2722..a295aaa846fa 100644 --- a/include/asm-mips/txx9/generic.h +++ b/include/asm-mips/txx9/generic.h | |||
@@ -47,5 +47,7 @@ char *prom_getcmdline(void); | |||
47 | void txx9_wdt_init(unsigned long base); | 47 | void txx9_wdt_init(unsigned long base); |
48 | void txx9_spi_init(int busid, unsigned long base, int irq); | 48 | void txx9_spi_init(int busid, unsigned long base, int irq); |
49 | void txx9_ethaddr_init(unsigned int id, unsigned char *ethaddr); | 49 | void txx9_ethaddr_init(unsigned int id, unsigned char *ethaddr); |
50 | void txx9_sio_init(unsigned long baseaddr, int irq, | ||
51 | unsigned int line, unsigned int sclk, int nocts); | ||
50 | 52 | ||
51 | #endif /* __ASM_TXX9_GENERIC_H */ | 53 | #endif /* __ASM_TXX9_GENERIC_H */ |
diff --git a/include/asm-mips/txx9/tx3927.h b/include/asm-mips/txx9/tx3927.h index f0439a73b3aa..14e063689626 100644 --- a/include/asm-mips/txx9/tx3927.h +++ b/include/asm-mips/txx9/tx3927.h | |||
@@ -331,7 +331,7 @@ struct tx3927_ccfg_reg { | |||
331 | void tx3927_wdt_init(void); | 331 | void tx3927_wdt_init(void); |
332 | void tx3927_setup(void); | 332 | void tx3927_setup(void); |
333 | void tx3927_time_init(unsigned int evt_tmrnr, unsigned int src_tmrnr); | 333 | void tx3927_time_init(unsigned int evt_tmrnr, unsigned int src_tmrnr); |
334 | void tx3927_setup_serial(unsigned int cts_mask); | 334 | void tx3927_sio_init(unsigned int sclk, unsigned int cts_mask); |
335 | struct pci_controller; | 335 | struct pci_controller; |
336 | void tx3927_pcic_setup(struct pci_controller *channel, | 336 | void tx3927_pcic_setup(struct pci_controller *channel, |
337 | unsigned long sdram_size, int extarb); | 337 | unsigned long sdram_size, int extarb); |
diff --git a/include/asm-mips/txx9/tx4927.h b/include/asm-mips/txx9/tx4927.h index 3d9fd7dcb33f..195f6515db9a 100644 --- a/include/asm-mips/txx9/tx4927.h +++ b/include/asm-mips/txx9/tx4927.h | |||
@@ -246,7 +246,7 @@ unsigned int tx4927_get_mem_size(void); | |||
246 | void tx4927_wdt_init(void); | 246 | void tx4927_wdt_init(void); |
247 | void tx4927_setup(void); | 247 | void tx4927_setup(void); |
248 | void tx4927_time_init(unsigned int tmrnr); | 248 | void tx4927_time_init(unsigned int tmrnr); |
249 | void tx4927_setup_serial(void); | 249 | void tx4927_sio_init(unsigned int sclk, unsigned int cts_mask); |
250 | int tx4927_report_pciclk(void); | 250 | int tx4927_report_pciclk(void); |
251 | int tx4927_pciclk66_setup(void); | 251 | int tx4927_pciclk66_setup(void); |
252 | void tx4927_setup_pcierr_irq(void); | 252 | void tx4927_setup_pcierr_irq(void); |
diff --git a/include/asm-mips/txx9/tx4938.h b/include/asm-mips/txx9/tx4938.h index 26f9d4aaf136..8175d4ccbc39 100644 --- a/include/asm-mips/txx9/tx4938.h +++ b/include/asm-mips/txx9/tx4938.h | |||
@@ -279,7 +279,7 @@ struct tx4938_ccfg_reg { | |||
279 | void tx4938_wdt_init(void); | 279 | void tx4938_wdt_init(void); |
280 | void tx4938_setup(void); | 280 | void tx4938_setup(void); |
281 | void tx4938_time_init(unsigned int tmrnr); | 281 | void tx4938_time_init(unsigned int tmrnr); |
282 | void tx4938_setup_serial(void); | 282 | void tx4938_sio_init(unsigned int sclk, unsigned int cts_mask); |
283 | void tx4938_spi_init(int busid); | 283 | void tx4938_spi_init(int busid); |
284 | void tx4938_ethaddr_init(unsigned char *addr0, unsigned char *addr1); | 284 | void tx4938_ethaddr_init(unsigned char *addr0, unsigned char *addr1); |
285 | int tx4938_report_pciclk(void); | 285 | int tx4938_report_pciclk(void); |