projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e20f40
)
Don't optimize link read pointers for UP systems (from YhLu)
author
Stefan Reinauer
<stepan@openbios.org>
Sat, 24 Apr 2004 22:26:19 +0000
(22:26 +0000)
committer
Stefan Reinauer
<stepan@openbios.org>
Sat, 24 Apr 2004 22:26:19 +0000
(22:26 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1532
2b7e53f0
-3cfb-0310-b3e9-
8179ed1497e1
src/northbridge/amd/amdk8/misc_control.c
patch
|
blob
|
history
diff --git
a/src/northbridge/amd/amdk8/misc_control.c
b/src/northbridge/amd/amdk8/misc_control.c
index df28bd033110b631c4a40a6c5b0ef374120f3378..5c46c1be788a6ec4d189fd192603901cd9044c79 100644
(file)
--- a/
src/northbridge/amd/amdk8/misc_control.c
+++ b/
src/northbridge/amd/amdk8/misc_control.c
@@
-155,6
+155,8
@@
static void misc_control_init(struct device *dev)
needs_reset = 1; /* Needed? */
}
}
+#if CONFIG_MAX_CPUS > 1
+/* Single CPU systems don't seem to need this. It might cause resets? (YhLu) */
/* Optimize the Link read pointers */
f0_dev = dev_find_slot(0, dev->path.u.pci.devfn - 3);
if (f0_dev) {
@@
-180,6
+182,7
@@
static void misc_control_init(struct device *dev)
else {
printk_err("Missing f0 device!\n");
}
+#endif
if (needs_reset) {
printk_debug("resetting cpu\n");
hard_reset();