X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fmainboard%2Fsupermicro%2Fh8dme%2Fap_romstage.c;h=ebd0305bf978cb38077426a16a17b201baa3a027;hb=61aee5f4b1d596a0cb007e666df13094abed6d10;hp=8e8b73bd2a413b61e407167b4d2ae2816a551d76;hpb=e82618d03719e1c3f012b6ac227aa4b34ae4950b;p=coreboot.git diff --git a/src/mainboard/supermicro/h8dme/ap_romstage.c b/src/mainboard/supermicro/h8dme/ap_romstage.c index 8e8b73bd2..ebd0305bf 100644 --- a/src/mainboard/supermicro/h8dme/ap_romstage.c +++ b/src/mainboard/supermicro/h8dme/ap_romstage.c @@ -19,16 +19,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#define ASSEMBLY 1 -#define __PRE_RAM__ - -#define RAMINIT_SYSINFO 1 - -#define SET_NB_CFG_54 1 - -//used by raminit -#define QRANK_DIMM_SUPPORT 1 - #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #include @@ -39,12 +29,11 @@ #include #include #include -#include "pc80/serial.c" #include "console/console.c" #include "lib/uart8250.c" #include "console/vtxprintf.c" -#include "./arch/i386/lib/printk_init.c" +#include "./arch/x86/lib/printk_init.c" #include #include "northbridge/amd/amdk8/raminit.h" @@ -89,17 +78,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 @@ -111,4 +97,3 @@ void x86_exception(struct eregs *info) } while(1); } -