From 8581ac215d560598c795caaba95a480459611a60 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 24 Apr 2004 22:26:19 +0000 Subject: 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 --- src/northbridge/amd/amdk8/misc_control.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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(); -- cgit v1.2.3