aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/ralink/early_printk.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-04-09 12:31:15 -0400
committerRalf Baechle <ralf@linux-mips.org>2013-05-07 19:19:08 -0400
commit5b4500d1944258184746c1f5ff05ab07b8f0b718 (patch)
tree88899e15f1faa001c1b66a282ca31d5fe520deae /arch/mips/ralink/early_printk.c
parent8ddc2513fbaf12b0e262d4d3f83757b46fd54e47 (diff)
MIPS: ralink: make early_printk work on RT2880
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/
Diffstat (limited to 'arch/mips/ralink/early_printk.c')
-rw-r--r--arch/mips/ralink/early_printk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/ralink/early_printk.c b/arch/mips/ralink/early_printk.c
index c4ae47eb24ab..b46d0419d09b 100644
--- a/arch/mips/ralink/early_printk.c
+++ b/arch/mips/ralink/early_printk.c
@@ -11,7 +11,11 @@
11 11
12#include <asm/addrspace.h> 12#include <asm/addrspace.h>
13 13
14#ifdef CONFIG_SOC_RT288X
15#define EARLY_UART_BASE 0x300c00
16#else
14#define EARLY_UART_BASE 0x10000c00 17#define EARLY_UART_BASE 0x10000c00
18#endif
15 19
16#define UART_REG_RX 0x00 20#define UART_REG_RX 0x00
17#define UART_REG_TX 0x04 21#define UART_REG_TX 0x04