MIPS: JZ4740: reuse UART0 address macro for vmlinuz debug port
[linux-drm-fsl-dcu.git] / arch / mips / boot / compressed / uart-16550.c
index c01d343ce6add9d6049cdcabae281c9d03d401b5..869172d0a5acf6a99c515f734ba90c5fe41fcf74 100644 (file)
@@ -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