diff options
author | Stefan Reinauer <stepan@openbios.org> | 2004-04-24 22:26:19 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2004-04-24 22:26:19 +0000 |
commit | 8581ac215d560598c795caaba95a480459611a60 (patch) | |
tree | 442878933d95559b75e3df2eeb6126a4d9c0932c /src/northbridge/amd | |
parent | 7e20f402e827314f772e15217061e25ca181b715 (diff) | |
download | coreboot-8581ac215d560598c795caaba95a480459611a60.tar.xz |
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
Diffstat (limited to 'src/northbridge/amd')
-rw-r--r-- | src/northbridge/amd/amdk8/misc_control.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdk8/misc_control.c b/src/northbridge/amd/amdk8/misc_control.c index df28bd0331..5c46c1be78 100644 --- 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(); |