diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-02-17 22:32:02 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-02-20 12:56:56 +0100 |
commit | e7f7d990df2da664a42d8bbb6f3a4f5c71731261 (patch) | |
tree | 034ddb92076a488a3634a4b5bb9d4c2e2bd87f6b /src/cpu/x86/smm | |
parent | b7d87888801325dc77cd9113011d08efd330e101 (diff) |
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>
Diffstat (limited to 'src/cpu/x86/smm')
-rw-r--r-- | src/cpu/x86/smm/smiutil.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cpu/x86/smm/smiutil.c b/src/cpu/x86/smm/smiutil.c index 13ee12ef1f..a50a16ab4d 100644 --- a/src/cpu/x86/smm/smiutil.c +++ b/src/cpu/x86/smm/smiutil.c @@ -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) |