From: Antony Pavlov Date: Sat, 28 Sep 2013 15:49:34 +0000 (+0400) Subject: MIPS: JZ4740: reuse UART0 address macro for vmlinuz debug port X-Git-Tag: drm-fsl-dcu-for-next~5957^2~78 X-Git-Url: http://git.agner.ch/gitweb/?p=linux-drm-fsl-dcu.git;a=commitdiff_plain;h=59197e447108220bc0b442d4e6749e24bb3d8fef MIPS: JZ4740: reuse UART0 address macro for vmlinuz debug port Signed-off-by: Antony Pavlov Acked-by: Lars-Peter Clausen Signed-off-by: John Crispin Patchwork: http://patchwork.linux-mips.org/patch/5927/ --- 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 +#define PORT(offset) (CKSEG1ADDR(JZ4740_UART0_BASE_ADDR) + (4 * offset)) #endif #ifdef CONFIG_CPU_XLR