#include <asm/blackfin.h>
#include <asm/mach-common/bits/uart.h>
+#ifdef CONFIG_UART_CONSOLE
+
#if defined(UART_LSR) && (CONFIG_UART_CONSOLE != 0)
# error CONFIG_UART_CONSOLE must be 0 on parts with only one UART
#endif
SSYNC();
WATCHDOG_RESET();
-
- /* wait for the byte to be shifted over the line */
- while (!(uart_lsr_read() & TEMT))
- continue;
}
int serial_tstc(void)
while (*s)
serial_putc(*s++);
}
+
+#endif