diff options
Diffstat (limited to 'arch/mips/boot/compressed/uart-16550.c')
-rw-r--r-- | arch/mips/boot/compressed/uart-16550.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/boot/compressed/uart-16550.c b/arch/mips/boot/compressed/uart-16550.c index c9caaf4fbf6..1c7b739b6a1 100644 --- a/arch/mips/boot/compressed/uart-16550.c +++ b/arch/mips/boot/compressed/uart-16550.c | |||
@@ -18,6 +18,11 @@ | |||
18 | #define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset)) | 18 | #define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset)) |
19 | #endif | 19 | #endif |
20 | 20 | ||
21 | #ifdef CONFIG_MACH_JZ4740 | ||
22 | #define UART0_BASE 0xB0030000 | ||
23 | #define PORT(offset) (UART0_BASE + (4 * offset)) | ||
24 | #endif | ||
25 | |||
21 | #ifndef PORT | 26 | #ifndef PORT |
22 | #error please define the serial port address for your own machine | 27 | #error please define the serial port address for your own machine |
23 | #endif | 28 | #endif |