projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[coreboot.git]
/
src
/
mainboard
/
tyan
/
s2880
/
auto.c
diff --git
a/src/mainboard/tyan/s2880/auto.c
b/src/mainboard/tyan/s2880/auto.c
index 182582c22ceee4646fd68f00ddf06df24a7f212d..6384f4d152423b0b6f90280659590a1e1c319757 100644
(file)
--- a/
src/mainboard/tyan/s2880/auto.c
+++ b/
src/mainboard/tyan/s2880/auto.c
@@
-160,24
+160,20
@@
static void main(unsigned long bist)
#endif
};
int needs_reset;
#endif
};
int needs_reset;
+ unsigned nodeid;
if (bist == 0) {
/* Skip this if there was a built in self test failure */
amd_early_mtrr_init();
enable_lapic();
init_timer();
if (bist == 0) {
/* Skip this if there was a built in self test failure */
amd_early_mtrr_init();
enable_lapic();
init_timer();
+
+ nodeid = lapicid() & 0xf;
- if (cpu_init_detected()) {
-#if 0
+ if (cpu_init_detected(nodeid)) {
asm volatile ("jmp __cpu_reset");
asm volatile ("jmp __cpu_reset");
-#else
- /* cpu reset also reset the memtroller ????
- need soft_reset to reset all except keep HT link freq and width */
- distinguish_cpu_resets();
- soft2_reset();
-#endif
}
}
- distinguish_cpu_resets();
+ distinguish_cpu_resets(
nodeid
);
if (!boot_cpu()) {
stop_this_cpu();
}
if (!boot_cpu()) {
stop_this_cpu();
}