MIPS: Alchemy: prom_putchar is board dependent
commit8402a1588a4f63465079e98481dd83d1d9cc9a98
authorManuel Lauss <manuel.lauss@googlemail.com>
Thu, 15 Oct 2009 16:49:27 +0000 (15 18:49 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:52:55 +0000 (27 12:52 +0100)
tree1ace3c45421fe4b8d29762fcc67bd09064197f18
parent963accbc82a0912b39de39d59e2fd6741db3aa4b
MIPS: Alchemy: prom_putchar is board dependent

This patch replaces the general alchemy prom_putchar() implementation
in favor of board-specific versions:  The UART where the output of
prom_putchar is directed to really depends on the board, the current
implementation hardcodes this on a per-SoC basis which is just wrong.

So a generic uart tx function is provided in the alchemy headers,
and the boards can provide their own prom_putchar with custom
destination uart, and all in-kernel alchemy boards support
early printk.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/alchemy/Kconfig
arch/mips/alchemy/common/Makefile
arch/mips/alchemy/common/puts.c [deleted file]
arch/mips/alchemy/devboards/prom.c
arch/mips/alchemy/mtx-1/init.c
arch/mips/alchemy/xxs1500/init.c
arch/mips/include/asm/mach-au1x00/au1000.h