diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2013-09-28 11:49:34 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-01-23 07:02:34 -0500 |
commit | 59197e447108220bc0b442d4e6749e24bb3d8fef (patch) | |
tree | 46c29b939324094c270bd9e85baa8900ac895874 /arch/mips/boot/compressed | |
parent | 885014bcf284cdfbe3428f2cfa3882edde5ff5fa (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/compressed')
-rw-r--r-- | arch/mips/boot/compressed/uart-16550.c | 4 |
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 @@ | |||
19 | #endif | 19 | #endif |
20 | 20 | ||
21 | #ifdef CONFIG_MACH_JZ4740 | 21 | #ifdef CONFIG_MACH_JZ4740 |
22 | #define UART0_BASE 0xB0030000 | 22 | #include <asm/mach-jz4740/base.h> |
23 | #define PORT(offset) (UART0_BASE + (4 * offset)) | 23 | #define PORT(offset) (CKSEG1ADDR(JZ4740_UART0_BASE_ADDR) + (4 * offset)) |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | #ifdef CONFIG_CPU_XLR | 26 | #ifdef CONFIG_CPU_XLR |