SMM: Fixes for DEBUG_SMI

Get the required UART includes directly.
The ne2k part is old copy-paste leftover.

Change-Id: Ifd9253abb5a50b515887459faf06b63f907eeda9
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5258
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
Kyösti Mälkki 2014-02-17 22:32:02 +02:00
parent b7d8788880
commit e7f7d990df
1 changed files with 2 additions and 3 deletions

View File

@ -23,6 +23,8 @@
#include <cpu/x86/cache.h>
#include <cpu/x86/smm.h>
#include <console/console.h>
#include <uart.h>
#include <uart8250.h>
#include <console/vtxprintf.h>
#if CONFIG_CONSOLE_SERIAL8250MEM
@ -45,9 +47,6 @@ void console_tx_byte(unsigned char byte)
#if CONFIG_CONSOLE_SERIAL8250
uart8250_tx_byte(CONFIG_TTYS0_BASE, byte);
#endif
#if CONFIG_CONSOLE_NE2K
ne2k_append_data(&byte, 1, CONFIG_CONSOLE_NE2K_IO_PORT);
#endif
}
void console_init(void)