diff options
-rw-r--r-- | src/arch/armv7/early_console.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/arch/armv7/early_console.c b/src/arch/armv7/early_console.c index 84f97ba..b6339fc 100644 --- a/src/arch/armv7/early_console.c +++ b/src/arch/armv7/early_console.c @@ -26,21 +26,9 @@ void console_tx_byte(unsigned char byte) if (byte == '\n') console_tx_byte('\r'); -#if CONFIG_CONSOLE_SERIAL8250MEM - if (oxford_oxpcie_present) { - uart8250_mem_tx_byte( - CONFIG_OXFORD_OXPCIE_BASE_ADDRESS + 0x1000, byte); - } -#endif -#if CONFIG_CONSOLE_SERIAL8250 - uart8250_tx_byte(CONFIG_TTYS0_BASE, byte); -#endif #if CONFIG_CONSOLE_SERIAL_UART uart_tx_byte(byte); #endif -#if CONFIG_USBDEBUG - usbdebug_tx_byte(0, byte); -#endif #if CONFIG_CONSOLE_CBMEM && !defined(__BOOT_BLOCK__) cbmemc_tx_byte(byte); #endif @@ -48,18 +36,9 @@ void console_tx_byte(unsigned char byte) static void _console_tx_flush(void) { -#if CONFIG_CONSOLE_SERIAL8250MEM - uart8250_mem_tx_flush(CONFIG_OXFORD_OXPCIE_BASE_ADDRESS + 0x1000); -#endif -#if CONFIG_CONSOLE_SERIAL8250 - uart8250_tx_flush(CONFIG_TTYS0_BASE); -#endif #if CONFIG_CONSOLE_SERIAL_UART uart_tx_flush(); #endif -#if CONFIG_USBDEBUG - usbdebug_tx_flush(0); -#endif } int do_printk(int msg_level, const char *fmt, ...) |