diff options
| author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-07-29 09:10:08 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-30 16:54:41 -0400 |
| commit | e352953ce00bb870124e9054dbbbda2262f9269c (patch) | |
| tree | 76297cc5749b91bec76d75f4520d88add8ca3efc /include/asm-mips | |
| parent | 7779a5e07d33fe316fe468e7afe7975fb686a831 (diff) | |
[MIPS] TXx9: Support early_printk
Kill jmr3927-specific prom_putchar and add txx9-generic prom_putchar
to support early_printk.
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 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-mips/txx9/generic.h b/include/asm-mips/txx9/generic.h index a295aaa846fa..5b1ccf901c62 100644 --- a/include/asm-mips/txx9/generic.h +++ b/include/asm-mips/txx9/generic.h | |||
| @@ -49,5 +49,14 @@ 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, | 50 | void txx9_sio_init(unsigned long baseaddr, int irq, |
| 51 | unsigned int line, unsigned int sclk, int nocts); | 51 | unsigned int line, unsigned int sclk, int nocts); |
| 52 | void prom_putchar(char c); | ||
| 53 | #ifdef CONFIG_EARLY_PRINTK | ||
| 54 | extern void (*txx9_prom_putchar)(char c); | ||
| 55 | void txx9_sio_putchar_init(unsigned long baseaddr); | ||
| 56 | #else | ||
| 57 | static inline void txx9_sio_putchar_init(unsigned long baseaddr) | ||
| 58 | { | ||
| 59 | } | ||
| 60 | #endif | ||
| 52 | 61 | ||
| 53 | #endif /* __ASM_TXX9_GENERIC_H */ | 62 | #endif /* __ASM_TXX9_GENERIC_H */ |
