1 --- a/arch/mips/lantiq/early_printk.c
2 +++ b/arch/mips/lantiq/early_printk.c
6 #define LTQ_ASC_FSTAT ((u32 *)(LTQ_ASC_BASE + 0x0048))
7 -#define LTQ_ASC_TBUF ((u32 *)(LTQ_ASC_BASE + 0x0020))
9 +#define LTQ_ASC_TBUF ((u8 *)(LTQ_ASC_BASE + 0x0023))
11 +#define LTQ_ASC_TBUF ((u8 *)(LTQ_ASC_BASE + 0x0020))
17 @@ -30,8 +35,6 @@ void prom_putchar(char c)
19 local_irq_save(flags);
20 do { } while ((ltq_r32(LTQ_ASC_FSTAT) & TXMASK) >> TXOFFSET);
22 - ltq_w32('\r', LTQ_ASC_TBUF);
23 - ltq_w32(c, LTQ_ASC_TBUF);
24 + ltq_w8(c, LTQ_ASC_TBUF);
25 local_irq_restore(flags);