2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
9 #include <bcm63xx_io.h>
10 #include <linux/serial_bcm63xx.h>
11 #include <asm/setup.h>
13 static void wait_xfered(void)
17 /* wait for any previous char to be transmitted */
19 val = bcm_uart0_readl(UART_IR_REG);
20 if (val & UART_IR_STAT(UART_IR_TXEMPTY))
25 void prom_putchar(char c)
28 bcm_uart0_writel(c, UART_FIFO_REG);