summaryrefslogtreecommitdiffstats
path: root/arch/mips/mti-malta/Makefile
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2013-12-02 17:48:38 +0100
committerRalf Baechle <ralf@linux-mips.org>2014-01-23 13:02:35 +0100
commit23a91de41cd996f927efa2ca0805e882426eefb4 (patch)
treeab7e97857ab2dd0e894e72a08bc1b3d46130ff92 /arch/mips/mti-malta/Makefile
parentMIPS: Malta: mux & enable SERIRQ interrupt (diff)
downloadlinux-23a91de41cd996f927efa2ca0805e882426eefb4.tar.xz
linux-23a91de41cd996f927efa2ca0805e882426eefb4.zip
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/
Diffstat (limited to 'arch/mips/mti-malta/Makefile')
-rw-r--r--arch/mips/mti-malta/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/mti-malta/Makefile b/arch/mips/mti-malta/Makefile
index 72fdedbf76db..eae0ba3876d9 100644
--- a/arch/mips/mti-malta/Makefile
+++ b/arch/mips/mti-malta/Makefile
@@ -9,7 +9,5 @@ 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
-obj-$(CONFIG_EARLY_PRINTK) += malta-console.o
-
# FIXME FIXME FIXME
obj-$(CONFIG_MIPS_MT_SMTC) += malta-smtc.o