23a91de41c
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/
14 lines
434 B
Makefile
14 lines
434 B
Makefile
#
|
|
# Carsten Langgaard, carstenl@mips.com
|
|
# Copyright (C) 1999,2000 MIPS Technologies, Inc. All rights reserved.
|
|
#
|
|
# Copyright (C) 2008 Wind River Systems, Inc.
|
|
# written by Ralf Baechle <ralf@linux-mips.org>
|
|
#
|
|
obj-y := malta-amon.o malta-display.o malta-init.o \
|
|
malta-int.o malta-memory.o malta-platform.o \
|
|
malta-reset.o malta-setup.o malta-time.o
|
|
|
|
# FIXME FIXME FIXME
|
|
obj-$(CONFIG_MIPS_MT_SMTC) += malta-smtc.o
|