linux/arch/mips/mti-malta
Paul Burton 23a91de41c MIPS: Malta: use generic 8250 early console
This patch switches Malta from using the MIPS implementation of early
printk with Malta's prom_putchar to using the generic 8250_early
implementation. This offers a couple of advantages:

  - We duplicate less generic code.

  - The UART can be initialised rather than being reliant upon
    inheriting a valid setup from the bootloader.

The Malta console_config function is extended to initialise the early
console if no earlycon= kernel parameter is provided, inheriting the
modetty0 bootloader environment if present and falling back to a
default 38400n8r setup if not. This matches the behaviour used for the
regular console= parameter.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6183/
2014-01-23 13:02:35 +01:00
..
Makefile MIPS: Malta: use generic 8250 early console 2014-01-23 13:02:35 +01:00
malta-amon.c MIPS: APRP: Code formatting clean-ups. 2014-01-22 20:19:02 +01:00
malta-display.c MIPS: FW: malta: Code formatting clean-ups. 2013-05-08 12:30:10 +02:00
malta-init.c MIPS: Malta: use generic 8250 early console 2014-01-23 13:02:35 +01:00
malta-int.c MIPS: APRP: Code formatting clean-ups. 2014-01-22 20:19:02 +01:00
malta-memory.c MIPS: FW: malta: Code formatting clean-ups. 2013-05-08 12:30:10 +02:00
malta-platform.c MIPS: Malta: Remove ttyS2 serial for CMP platforms 2014-01-22 20:18:57 +01:00
malta-reset.c MIPS: malta: Remove software reset defines from generic header. 2013-06-21 18:07:01 +02:00
malta-setup.c MIPS: FW: malta: Code formatting clean-ups. 2013-05-08 12:30:10 +02:00
malta-smtc.c MIPS: Delete __cpuinit/__CPUINIT usage from MIPS code 2013-07-14 19:36:51 -04:00
malta-time.c MIPS: Malta: initialise the RTC at boot 2014-01-23 13:02:35 +01:00
Platform KVM/MIPS32: Infrastructure/build files. 2013-05-08 03:55:34 +02:00