summaryrefslogtreecommitdiff
path: root/arch/mips/txx9/rbtx4938/prom.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2008-07-29 22:10:08 +0900
committerRalf Baechle <ralf@linux-mips.org>2008-07-30 21:54:41 +0100
commite352953ce00bb870124e9054dbbbda2262f9269c (patch)
tree76297cc5749b91bec76d75f4520d88add8ca3efc /arch/mips/txx9/rbtx4938/prom.c
parent7779a5e07d33fe316fe468e7afe7975fb686a831 (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 'arch/mips/txx9/rbtx4938/prom.c')
-rw-r--r--arch/mips/txx9/rbtx4938/prom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/txx9/rbtx4938/prom.c b/arch/mips/txx9/rbtx4938/prom.c
index ee189519ce5a..d73123cd2ab9 100644
--- a/arch/mips/txx9/rbtx4938/prom.c
+++ b/arch/mips/txx9/rbtx4938/prom.c
@@ -22,4 +22,5 @@ void __init rbtx4938_prom_init(void)
prom_init_cmdline();
#endif
add_memory_region(0, tx4938_get_mem_size(), BOOT_MEM_RAM);
+ txx9_sio_putchar_init(TX4938_SIO_REG(0) & 0xfffffffffULL);
}