aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/alchemy/devboards/prom.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/alchemy/devboards/prom.c')
-rw-r--r--arch/mips/alchemy/devboards/prom.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/alchemy/devboards/prom.c b/arch/mips/alchemy/devboards/prom.c
index 0042bd6b1d7..b30df5c97ad 100644
--- a/arch/mips/alchemy/devboards/prom.c
+++ b/arch/mips/alchemy/devboards/prom.c
@@ -60,3 +60,8 @@ void __init prom_init(void)
strict_strtoul(memsize_str, 0, &memsize);
add_memory_region(0, memsize, BOOT_MEM_RAM);
}
+
+void prom_putchar(unsigned char c)
+{
+ alchemy_uart_putchar(UART0_PHYS_ADDR, c);
+}