summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2013-09-28 19:49:34 +0400
committerRalf Baechle <ralf@linux-mips.org>2014-01-23 13:02:34 +0100
commit59197e447108220bc0b442d4e6749e24bb3d8fef (patch)
tree46c29b939324094c270bd9e85baa8900ac895874 /arch/mips/boot
parent885014bcf284cdfbe3428f2cfa3882edde5ff5fa (diff)
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/
Diffstat (limited to 'arch/mips/boot')
-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 c01d343ce6a..869172d0a5a 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