diff options
Diffstat (limited to 'include/asm-mips/serial.h')
-rw-r--r-- | include/asm-mips/serial.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/asm-mips/serial.h b/include/asm-mips/serial.h index d7a65135d837..5e0da6e2d698 100644 --- a/include/asm-mips/serial.h +++ b/include/asm-mips/serial.h | |||
@@ -134,27 +134,6 @@ | |||
134 | #define MOMENCO_OCELOT_SERIAL_PORT_DEFNS | 134 | #define MOMENCO_OCELOT_SERIAL_PORT_DEFNS |
135 | #endif | 135 | #endif |
136 | 136 | ||
137 | #ifdef CONFIG_MOMENCO_OCELOT_G | ||
138 | /* Ordinary NS16552 duart with a 20MHz crystal. */ | ||
139 | #define OCELOT_G_BASE_BAUD ( 20000000 / 16 ) | ||
140 | |||
141 | #define OCELOT_G_SERIAL1_IRQ 4 | ||
142 | #if 0 | ||
143 | #define OCELOT_G_SERIAL1_BASE 0xe0001020 | ||
144 | #else | ||
145 | #define OCELOT_G_SERIAL1_BASE 0xfd000020 | ||
146 | #endif | ||
147 | |||
148 | #define _OCELOT_G_SERIAL_INIT(int, base) \ | ||
149 | { .baud_base = OCELOT_G_BASE_BAUD, .irq = int, .flags = STD_COM_FLAGS,\ | ||
150 | .iomem_base = (u8 *) base, .iomem_reg_shift = 2, \ | ||
151 | .io_type = SERIAL_IO_MEM } | ||
152 | #define MOMENCO_OCELOT_G_SERIAL_PORT_DEFNS \ | ||
153 | _OCELOT_G_SERIAL_INIT(OCELOT_G_SERIAL1_IRQ, OCELOT_G_SERIAL1_BASE) | ||
154 | #else | ||
155 | #define MOMENCO_OCELOT_G_SERIAL_PORT_DEFNS | ||
156 | #endif | ||
157 | |||
158 | #ifdef CONFIG_MOMENCO_OCELOT_C | 137 | #ifdef CONFIG_MOMENCO_OCELOT_C |
159 | /* Ordinary NS16552 duart with a 20MHz crystal. */ | 138 | /* Ordinary NS16552 duart with a 20MHz crystal. */ |
160 | #define OCELOT_C_BASE_BAUD ( 20000000 / 16 ) | 139 | #define OCELOT_C_BASE_BAUD ( 20000000 / 16 ) |
@@ -210,7 +189,6 @@ | |||
210 | IP32_SERIAL_PORT_DEFNS \ | 189 | IP32_SERIAL_PORT_DEFNS \ |
211 | JAZZ_SERIAL_PORT_DEFNS \ | 190 | JAZZ_SERIAL_PORT_DEFNS \ |
212 | STD_SERIAL_PORT_DEFNS \ | 191 | STD_SERIAL_PORT_DEFNS \ |
213 | MOMENCO_OCELOT_G_SERIAL_PORT_DEFNS \ | ||
214 | MOMENCO_OCELOT_C_SERIAL_PORT_DEFNS \ | 192 | MOMENCO_OCELOT_C_SERIAL_PORT_DEFNS \ |
215 | MOMENCO_OCELOT_SERIAL_PORT_DEFNS \ | 193 | MOMENCO_OCELOT_SERIAL_PORT_DEFNS \ |
216 | MOMENCO_OCELOT_3_SERIAL_PORT_DEFNS | 194 | MOMENCO_OCELOT_3_SERIAL_PORT_DEFNS |