X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fmainboard%2Fnvidia%2Fl1_2pvv%2Fap_romstage.c;h=c1c49cca90496b911ef5b8b2ec9483174d065dfd;hb=61aee5f4b1d596a0cb007e666df13094abed6d10;hp=cc01b0a4f12278ab21b7e0f79ee9b9d34aba37ca;hpb=00e1460a8367c4199358034064329abcfb7e5c28;p=coreboot.git diff --git a/src/mainboard/nvidia/l1_2pvv/ap_romstage.c b/src/mainboard/nvidia/l1_2pvv/ap_romstage.c index cc01b0a4f..c1c49cca9 100644 --- a/src/mainboard/nvidia/l1_2pvv/ap_romstage.c +++ b/src/mainboard/nvidia/l1_2pvv/ap_romstage.c @@ -19,13 +19,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#define ASSEMBLY 1 -#define __PRE_RAM__ - -#define SET_NB_CFG_54 1 - -//used by raminit - #define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0 #include @@ -36,10 +29,8 @@ #include #include #include -#include "pc80/serial.c" - #include "lib/uart8250.c" -#include "arch/i386/lib/printk_init.c" +#include "arch/x86/lib/printk_init.c" #include "console/vtxprintf.c" #include "console/console.c" @@ -49,7 +40,6 @@ #include "lib/delay.c" -//#include "cpu/x86/lapic/boot_cpu.c" #include "northbridge/amd/amdk8/reset_test.c" #include "northbridge/amd/amdk8/debug.c" @@ -82,17 +72,15 @@ 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 @@ -103,5 +91,3 @@ void x86_exception(struct eregs *info) hlt(); } while(1); } - -