Don't optimize link read pointers for UP systems (from YhLu)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1532 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
7e20f402e8
commit
8581ac215d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue