projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ddc251
)
MIPS: ralink: make early_printk work on RT2880
author
John Crispin
<blogic@openwrt.org>
Tue, 9 Apr 2013 16:31:15 +0000
(18:31 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 7 May 2013 23:19:08 +0000
(
01:19
+0200)
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/
arch/mips/ralink/early_printk.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/ralink/early_printk.c
b/arch/mips/ralink/early_printk.c
index c4ae47eb24abba22390902acd90e8f0430325162..b46d0419d09b52a3864e7f3f1bc0e2767ed97d4f 100644
(file)
--- 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