diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-07-23 11:25:20 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-30 16:54:39 -0400 |
commit | c49f91f51e3cca796494f69fd967a7f72df5d457 (patch) | |
tree | e61f4835373a274af951782dd5f314031b2c8e38 /include/asm-mips | |
parent | f6727fb889c664be094fa041a0fdf0f1a1caefb6 (diff) |
[MIPS] TXx9: Make tx4938-specific code more independent
Make some TX4938 SoC specific code independent from board specific code.
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/tx4938.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/txx9/generic.h b/include/asm-mips/txx9/generic.h index 2b34d09e34c8..c6b5cd6a2722 100644 --- a/include/asm-mips/txx9/generic.h +++ b/include/asm-mips/txx9/generic.h | |||
@@ -45,5 +45,7 @@ extern int (*txx9_irq_dispatch)(int pending); | |||
45 | void prom_init_cmdline(void); | 45 | void prom_init_cmdline(void); |
46 | char *prom_getcmdline(void); | 46 | 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); | ||
49 | void txx9_ethaddr_init(unsigned int id, unsigned char *ethaddr); | ||
48 | 50 | ||
49 | #endif /* __ASM_TXX9_GENERIC_H */ | 51 | #endif /* __ASM_TXX9_GENERIC_H */ |
diff --git a/include/asm-mips/txx9/tx4938.h b/include/asm-mips/txx9/tx4938.h index d5d7cef7ee8d..26f9d4aaf136 100644 --- a/include/asm-mips/txx9/tx4938.h +++ b/include/asm-mips/txx9/tx4938.h | |||
@@ -280,6 +280,8 @@ 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_setup_serial(void); |
283 | void tx4938_spi_init(int busid); | ||
284 | void tx4938_ethaddr_init(unsigned char *addr0, unsigned char *addr1); | ||
283 | int tx4938_report_pciclk(void); | 285 | int tx4938_report_pciclk(void); |
284 | void tx4938_report_pci1clk(void); | 286 | void tx4938_report_pci1clk(void); |
285 | int tx4938_pciclk66_setup(void); | 287 | int tx4938_pciclk66_setup(void); |