MIPS: Octeon: Serial port fixes for OCTEON simulator.
commit606c958e2857d29106b8d3b2fc30e22f376c80c5
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 19 May 2010 21:16:32 +0000 (19 14:16 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 21 May 2010 20:31:23 +0000 (21 21:31 +0100)
treed5ea9847b33df34228570f36733bf2eadfae45b5
parent1dd5216e80318b4cb25c1785f5d11a6f042f0a3b
MIPS: Octeon: Serial port fixes for OCTEON simulator.

For the simulator, fake a slow clock to get fast output.

In prom_putchar we have to mask the value so the simulator doesn't
ASSERT when printing non-ASCII characters.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1255/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/serial.c
arch/mips/cavium-octeon/setup.c