Skip to content

Commit

Permalink
MIPS: ralink: make early_printk work on RT2880
Browse files Browse the repository at this point in the history
RT2880 has a different location for the early serial port.

Signed-off-by: John Crispin <blogic@openwrt.org>
Acked-by: Gabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5170/
  • Loading branch information
John Crispin authored and Ralf Baechle committed May 7, 2013
1 parent 8ddc251 commit 5b4500d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/mips/ralink/early_printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@

#include <asm/addrspace.h>

#ifdef CONFIG_SOC_RT288X
#define EARLY_UART_BASE 0x300c00
#else
#define EARLY_UART_BASE 0x10000c00
#endif

#define UART_REG_RX 0x00
#define UART_REG_TX 0x04
Expand Down

0 comments on commit 5b4500d

Please sign in to comment.