From 85b0fa1ace685bfdb1f1febbbf5127710a314888 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 17 Dec 2010 00:08:21 +0000 Subject: drop one more version of doing serial uart output differently. coreboot made it kind of complicated to print a character on serial. Not quite as complicated as UEFI, but too much for a good design. Fix it. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6191 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/supermicro/h8dme/ap_romstage.c | 9 ++------- src/mainboard/supermicro/h8dmr/ap_romstage.c | 1 - 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'src/mainboard/supermicro') diff --git a/src/mainboard/supermicro/h8dme/ap_romstage.c b/src/mainboard/supermicro/h8dme/ap_romstage.c index 9b3f9c87fc..6904b6d51b 100644 --- a/src/mainboard/supermicro/h8dme/ap_romstage.c +++ b/src/mainboard/supermicro/h8dme/ap_romstage.c @@ -32,7 +32,6 @@ #include #include #include -#include "pc80/serial.c" #include "console/console.c" #include "lib/uart8250.c" @@ -82,17 +81,14 @@ void hardwaremain(int ret_addr) train_ram(id.nodeid, sysinfo, sysinfox); /* - go back, but can not use stack any more, because we only keep ret_addr and can not restore esp, and ebp - */ + * go back, but can not use stack any more, because we only keep ret_addr and can not restore esp, and ebp + */ __asm__ volatile ( "movl %0, %%edi\n\t" "jmp *%%edi\n\t" :: "a"(ret_addr) ); - - - } #include @@ -104,4 +100,3 @@ void x86_exception(struct eregs *info) } while(1); } - diff --git a/src/mainboard/supermicro/h8dmr/ap_romstage.c b/src/mainboard/supermicro/h8dmr/ap_romstage.c index 9b3f9c87fc..e56561e746 100644 --- a/src/mainboard/supermicro/h8dmr/ap_romstage.c +++ b/src/mainboard/supermicro/h8dmr/ap_romstage.c @@ -32,7 +32,6 @@ #include #include #include -#include "pc80/serial.c" #include "console/console.c" #include "lib/uart8250.c" -- cgit v1.2.3