Commit 5b4500d1 authored by John Crispin's avatar John Crispin Committed by Ralf Baechle

MIPS: ralink: make early_printk work on RT2880

RT2880 has a different location for the early serial port.
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Acked-by: default avatarGabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/5170/
parent 8ddc2513
...@@ -11,7 +11,11 @@ ...@@ -11,7 +11,11 @@
#include <asm/addrspace.h> #include <asm/addrspace.h>
#ifdef CONFIG_SOC_RT288X
#define EARLY_UART_BASE 0x300c00
#else
#define EARLY_UART_BASE 0x10000c00 #define EARLY_UART_BASE 0x10000c00
#endif
#define UART_REG_RX 0x00 #define UART_REG_RX 0x00
#define UART_REG_TX 0x04 #define UART_REG_TX 0x04
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment