summaryrefslogtreecommitdiff
path: root/arch/mips/ralink/early_printk.c
diff options
context:
space:
mode:
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 @@
#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