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>
Showing
- arch/mips/alchemy/Kconfig 14 additions, 0 deletionsarch/mips/alchemy/Kconfig
- arch/mips/alchemy/common/Makefile 1 addition, 1 deletionarch/mips/alchemy/common/Makefile
- arch/mips/alchemy/common/puts.c 0 additions, 68 deletionsarch/mips/alchemy/common/puts.c
- arch/mips/alchemy/devboards/prom.c 5 additions, 0 deletionsarch/mips/alchemy/devboards/prom.c
- arch/mips/alchemy/mtx-1/init.c 6 additions, 0 deletionsarch/mips/alchemy/mtx-1/init.c
- arch/mips/alchemy/xxs1500/init.c 6 additions, 0 deletionsarch/mips/alchemy/xxs1500/init.c
- arch/mips/include/asm/mach-au1x00/au1000.h 19 additions, 0 deletionsarch/mips/include/asm/mach-au1x00/au1000.h
arch/mips/alchemy/common/puts.c
deleted
100644 → 0
Please register or sign in to comment