summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Pavlov2013-09-28 17:49:34 +0200
committerRalf Baechle2014-01-23 13:02:34 +0100
commit59197e447108220bc0b442d4e6749e24bb3d8fef (patch)
tree46c29b939324094c270bd9e85baa8900ac895874
parentMIPS: improve checks for noncoherent DMA (diff)
downloadkernel-qcow2-linux-59197e447108220bc0b442d4e6749e24bb3d8fef.tar.gz
kernel-qcow2-linux-59197e447108220bc0b442d4e6749e24bb3d8fef.tar.xz
kernel-qcow2-linux-59197e447108220bc0b442d4e6749e24bb3d8fef.zip
MIPS: JZ4740: reuse UART0 address macro for vmlinuz debug port
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/5927/
-rw-r--r--arch/mips/boot/compressed/uart-16550.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/boot/compressed/uart-16550.c b/arch/mips/boot/compressed/uart-16550.c
index c01d343ce6ad..869172d0a5ac 100644
--- a/arch/mips/boot/compressed/uart-16550.c
+++ b/arch/mips/boot/compressed/uart-16550.c
@@ -19,8 +19,8 @@
#endif
#ifdef CONFIG_MACH_JZ4740
-#define UART0_BASE 0xB0030000
-#define PORT(offset) (UART0_BASE + (4 * offset))
+#include <asm/mach-jz4740/base.h>
+#define PORT(offset) (CKSEG1ADDR(JZ4740_UART0_BASE_ADDR) + (4 * offset))
#endif
#ifdef CONFIG_CPU_XLR