projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove trailing whitespace
[coreboot.git]
/
src
/
mainboard
/
amd
/
serengeti_cheetah
/
ap_romstage.c
diff --git
a/src/mainboard/amd/serengeti_cheetah/ap_romstage.c
b/src/mainboard/amd/serengeti_cheetah/ap_romstage.c
index d8539932b2ad880db15aceb2b98831e9a5079e81..65ac2e641cbe9fad293a749db745793b402f9807 100644
(file)
--- a/
src/mainboard/amd/serengeti_cheetah/ap_romstage.c
+++ b/
src/mainboard/amd/serengeti_cheetah/ap_romstage.c
@@
-1,13
+1,3
@@
-#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 <stdint.h>
#define K8_REV_F_SUPPORT_F0_F1_WORKAROUND 0
#include <stdint.h>
@@
-18,9
+8,6
@@
#include <arch/romcc_io.h>
#include <cpu/x86/lapic.h>
#include <pc80/mc146818rtc.h>
#include <arch/romcc_io.h>
#include <cpu/x86/lapic.h>
#include <pc80/mc146818rtc.h>
-#include "pc80/serial.c"
-#include "./arch/i386/lib/printk_init.c"
-
#include "console/console.c"
#include "lib/uart8250.c"
#include "console/vtxprintf.c"
#include "console/console.c"
#include "lib/uart8250.c"
#include "console/vtxprintf.c"
@@
-70,7
+57,7
@@
void hardwaremain(int ret_addr)
train_ram(id.nodeid, sysinfo, sysinfox);
/*
train_ram(id.nodeid, sysinfo, sysinfox);
/*
- * go back, but can not use stack any more, because we
+ * go back, but can not use stack any more, because we
* only keep ret_addr and can not restore esp, and ebp.
*/
* only keep ret_addr and can not restore esp, and ebp.
*/