summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2007-07-29 22:19:02 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-07-31 21:35:34 +0100
commitac1a236aaaaaa24552bf16a8ba6dc5f88129fbd0 (patch)
tree8c1727fc6c21e439d0958c2f6642bc9ec210dea1 /arch
parent72c0fcf70a0c15a6280b3cf2ad11c6fdaf0bd888 (diff)
downloadop-kernel-dev-ac1a236aaaaaa24552bf16a8ba6dc5f88129fbd0.zip
op-kernel-dev-ac1a236aaaaaa24552bf16a8ba6dc5f88129fbd0.tar.gz
[MIPS] Cobalt: Enable UART on RaQ1
Unlike the current code suggests, the RaQ1 actually has an UART. Only the Qube1 (Qube 2700) lacks one. Signed-off-by: Martin Michlmayr <tbm@cyrius.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/cobalt/serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/cobalt/serial.c b/arch/mips/cobalt/serial.c
index c271165..08e7397 100644
--- a/arch/mips/cobalt/serial.c
+++ b/arch/mips/cobalt/serial.c
@@ -55,9 +55,9 @@ static __init int cobalt_uart_add(void)
int retval;
/*
- * Cobalt Qube1 and RAQ1 have no UART.
+ * Cobalt Qube1 has no UART.
*/
- if (cobalt_board_id <= COBALT_BRD_ID_RAQ1)
+ if (cobalt_board_id == COBALT_BRD_ID_QUBE1)
return 0;
pdev = platform_device_alloc("serial8250", -1);
OpenPOWER on IntegriCloud