diff options
author | Yinghai Lu <yinghailu@gmail.com> | 2006-05-04 01:05:22 +0000 |
---|---|---|
committer | Yinghai Lu <yinghailu@gmail.com> | 2006-05-04 01:05:22 +0000 |
commit | 7ac38a33f630112bc2b4caa35162a540afaa2d09 (patch) | |
tree | d730870f06be1492bbdebc7abe2dffaba1e6efc2 /src/mainboard/tyan/s2881/cache_as_ram_auto.c | |
parent | 52377deec00798261a09bac6263291f9461756bb (diff) |
don't wait core0 started twice
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2295 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/tyan/s2881/cache_as_ram_auto.c')
-rw-r--r-- | src/mainboard/tyan/s2881/cache_as_ram_auto.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mainboard/tyan/s2881/cache_as_ram_auto.c b/src/mainboard/tyan/s2881/cache_as_ram_auto.c index 67a32140ad..50c543592b 100644 --- a/src/mainboard/tyan/s2881/cache_as_ram_auto.c +++ b/src/mainboard/tyan/s2881/cache_as_ram_auto.c @@ -181,15 +181,14 @@ void real_main(unsigned long bist, unsigned long cpu_init_detectedx) setup_s2881_resource_map(); needs_reset = setup_coherent_ht_domain(); - + + wait_all_core0_started(); #if CONFIG_LOGICAL_CPUS==1 // It is said that we should start core1 after all core0 launched - wait_all_core0_started(); start_other_cores(); + wait_all_other_cores_started(bsp_apicid); #endif - wait_all_aps_started(bsp_apicid); - needs_reset |= ht_setup_chains_x(); if (needs_reset) { |