aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/boot/compressed/uart-16550.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/boot/compressed/uart-16550.c')
-rw-r--r--arch/mips/boot/compressed/uart-16550.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/mips/boot/compressed/uart-16550.c b/arch/mips/boot/compressed/uart-16550.c
index c01d343ce6ad..237494b7a21a 100644
--- a/arch/mips/boot/compressed/uart-16550.c
+++ b/arch/mips/boot/compressed/uart-16550.c
@@ -4,7 +4,6 @@
4 4
5#include <linux/types.h> 5#include <linux/types.h>
6#include <linux/serial_reg.h> 6#include <linux/serial_reg.h>
7#include <linux/init.h>
8 7
9#include <asm/addrspace.h> 8#include <asm/addrspace.h>
10 9
@@ -19,8 +18,8 @@
19#endif 18#endif
20 19
21#ifdef CONFIG_MACH_JZ4740 20#ifdef CONFIG_MACH_JZ4740
22#define UART0_BASE 0xB0030000 21#include <asm/mach-jz4740/base.h>
23#define PORT(offset) (UART0_BASE + (4 * offset)) 22#define PORT(offset) (CKSEG1ADDR(JZ4740_UART0_BASE_ADDR) + (4 * offset))
24#endif 23#endif
25 24
26#ifdef CONFIG_CPU_XLR 25#ifdef CONFIG_CPU_XLR