diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-07-29 22:10:08 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-30 21:54:41 +0100 |
commit | e352953ce00bb870124e9054dbbbda2262f9269c (patch) | |
tree | 76297cc5749b91bec76d75f4520d88add8ca3efc /include | |
parent | 7779a5e07d33fe316fe468e7afe7975fb686a831 (diff) | |
download | blackbird-op-linux-e352953ce00bb870124e9054dbbbda2262f9269c.tar.gz blackbird-op-linux-e352953ce00bb870124e9054dbbbda2262f9269c.zip |
[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')
-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); void txx9_ethaddr_init(unsigned int id, unsigned char *ethaddr); void txx9_sio_init(unsigned long baseaddr, int irq, unsigned int line, unsigned int sclk, int nocts); +void prom_putchar(char c); +#ifdef CONFIG_EARLY_PRINTK +extern void (*txx9_prom_putchar)(char c); +void txx9_sio_putchar_init(unsigned long baseaddr); +#else +static inline void txx9_sio_putchar_init(unsigned long baseaddr) +{ +} +#endif #endif /* __ASM_TXX9_GENERIC_H */ |