Skip to content

Commit

Permalink
[MIPS] Cobalt: Enable UART on RaQ1
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Martin Michlmayr authored and Ralf Baechle committed Jul 31, 2007
1 parent 72c0fcf commit ac1a236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/cobalt/serial.c
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit ac1a236

Please sign in to comment.