console: Remove old fix for DEBUG_SMI
No longer needed as wrap_putchar() survives SMM relocation to TSEG.
Change-Id: I6143844b0b9902ef63baf3e5781a5dc4f54234be
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5335
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
diff --git a/src/console/printk.c b/src/console/printk.c
index 1d6b9bf..2fa160b4 100644
--- a/src/console/printk.c
+++ b/src/console/printk.c
@@ -21,7 +21,7 @@
console_tx_byte(byte);
}
-void wrap_putchar(unsigned char byte, void *data)
+static void wrap_putchar(unsigned char byte, void *data)
{
do_putchar(byte);
}
@@ -61,4 +61,3 @@
console_tx_flush();
}
#endif
-
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c
index d4d70b6..23db037 100644
--- a/src/console/vtxprintf.c
+++ b/src/console/vtxprintf.c
@@ -121,11 +121,6 @@
int count;
-#if defined(__SMM__) && CONFIG_SMM_TSEG
- /* Fix pointer in TSEG */
- tx_byte = wrap_putchar;
-#endif
-
for (count=0; *fmt ; ++fmt) {
if (*fmt != '%') {
call_tx(*fmt), count++;