From 7ac38a33f630112bc2b4caa35162a540afaa2d09 Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Thu, 4 May 2006 01:05:22 +0000 Subject: don't wait core0 started twice git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2295 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/tyan/s4882/cache_as_ram_auto.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/mainboard/tyan/s4882') diff --git a/src/mainboard/tyan/s4882/cache_as_ram_auto.c b/src/mainboard/tyan/s4882/cache_as_ram_auto.c index 2b463d4d27..00378dfb9b 100644 --- a/src/mainboard/tyan/s4882/cache_as_ram_auto.c +++ b/src/mainboard/tyan/s4882/cache_as_ram_auto.c @@ -219,15 +219,14 @@ void real_main(unsigned long bist, unsigned long cpu_init_detectedx) setup_s4882_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); - // automatically set that for you, but you might meet tight space needs_reset |= ht_setup_chains_x(); -- cgit v1.2.3