diff options
Diffstat (limited to 'arch/mips/mips-boards/generic/console.c')
-rw-r--r-- | arch/mips/mips-boards/generic/console.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/mips/mips-boards/generic/console.c b/arch/mips/mips-boards/generic/console.c index 4a2aecc6da1b..43bcfb4f8167 100644 --- a/arch/mips/mips-boards/generic/console.c +++ b/arch/mips/mips-boards/generic/console.c | |||
@@ -22,21 +22,9 @@ | |||
22 | #include <linux/serial_reg.h> | 22 | #include <linux/serial_reg.h> |
23 | #include <asm/io.h> | 23 | #include <asm/io.h> |
24 | 24 | ||
25 | #if defined(CONFIG_MIPS_SEAD) | ||
26 | |||
27 | #include <asm/mips-boards/sead.h> | ||
28 | |||
29 | #ifdef CONFIG_CPU_LITTLE_ENDIAN | ||
30 | #define PORT(offset) (SEAD_UART0_REGS_BASE + ((offset)<<3)) | ||
31 | #else | ||
32 | #define PORT(offset) (SEAD_UART0_REGS_BASE + 3 + ((offset)<<3)) | ||
33 | #endif | ||
34 | |||
35 | #else | ||
36 | 25 | ||
37 | #define PORT(offset) (0x3f8 + (offset)) | 26 | #define PORT(offset) (0x3f8 + (offset)) |
38 | 27 | ||
39 | #endif | ||
40 | 28 | ||
41 | static inline unsigned int serial_in(int offset) | 29 | static inline unsigned int serial_in(int offset) |
42 | { | 30 | { |