Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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/

authored by

John Crispin and committed by
Ralf Baechle
5b4500d1 8ddc2513

+4
+4
arch/mips/ralink/early_printk.c
··· 11 11 12 12 #include <asm/addrspace.h> 13 13 14 + #ifdef CONFIG_SOC_RT288X 15 + #define EARLY_UART_BASE 0x300c00 16 + #else 14 17 #define EARLY_UART_BASE 0x10000c00 18 + #endif 15 19 16 20 #define UART_REG_RX 0x00 17 21 #define UART_REG_TX 0x04