CBMEM CONSOLE: Add code using the new console driver.
[coreboot.git] / src / arch / x86 / lib / romstage_console.c
index 8adb3ba93d2324ee4259aeb6f5d35f94255aa838..0f2272709bc14445ac9373158795ee079dfbfcb1 100644 (file)
@@ -46,6 +46,9 @@ static void console_tx_byte(unsigned char byte)
 #if CONFIG_CONSOLE_NE2K
        ne2k_append_data(&byte, 1, CONFIG_CONSOLE_NE2K_IO_PORT);
 #endif
+#if CONFIG_CONSOLE_CBMEM
+       cbmemc_tx_byte(byte);
+#endif
 }
 
 static void console_tx_flush(void)