diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2007-05-16 12:35:13 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-06-06 14:34:31 -0400 |
commit | d73d420708f456a63d7db2c504c62cd713381d7d (patch) | |
tree | 6cf8556ff010faa240e3dfdbf4c075dfee306df7 /arch/mips/emma2rh | |
parent | f9509c84d8d9451ecd1731e922e7094b38ee336a (diff) |
[MIPS] EMMA2RH: remove dead KGDB code
Get rid of the cross-arch KGDB specific code which shouldn't have been
there in the first place...
Signed-off-by: Sergey Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/emma2rh')
-rw-r--r-- | arch/mips/emma2rh/markeins/setup.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/mips/emma2rh/markeins/setup.c b/arch/mips/emma2rh/markeins/setup.c index b29a44739230..2f060e1ed36c 100644 --- a/arch/mips/emma2rh/markeins/setup.c +++ b/arch/mips/emma2rh/markeins/setup.c | |||
@@ -115,30 +115,6 @@ extern void markeins_irq_setup(void); | |||
115 | 115 | ||
116 | static void inline __init markeins_sio_setup(void) | 116 | static void inline __init markeins_sio_setup(void) |
117 | { | 117 | { |
118 | #ifdef CONFIG_KGDB_8250 | ||
119 | struct uart_port emma_port; | ||
120 | |||
121 | memset(&emma_port, 0, sizeof(emma_port)); | ||
122 | |||
123 | emma_port.flags = | ||
124 | UPF_BOOT_AUTOCONF | UPF_SKIP_TEST; | ||
125 | emma_port.iotype = UPIO_MEM; | ||
126 | emma_port.regshift = 4; /* I/O addresses are every 8 bytes */ | ||
127 | emma_port.uartclk = 18544000; /* Clock rate of the chip */ | ||
128 | |||
129 | emma_port.line = 0; | ||
130 | emma_port.mapbase = KSEG1ADDR(EMMA2RH_PFUR0_BASE + 3); | ||
131 | emma_port.membase = (u8*)emma_port.mapbase; | ||
132 | early_serial_setup(&emma_port); | ||
133 | |||
134 | emma_port.line = 1; | ||
135 | emma_port.mapbase = KSEG1ADDR(EMMA2RH_PFUR1_BASE + 3); | ||
136 | emma_port.membase = (u8*)emma_port.mapbase; | ||
137 | early_serial_setup(&emma_port); | ||
138 | |||
139 | emma_port.irq = EMMA2RH_IRQ_PFUR1; | ||
140 | kgdb8250_add_port(1, &emma_port); | ||
141 | #endif | ||
142 | } | 118 | } |
143 | 119 | ||
144 | void __init plat_mem_setup(void) | 120 | void __init plat_mem_setup(void) |