Author: sduplichan Date: Tue Oct 19 06:36:42 2010 New Revision: 5967 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5967
Log: To reduce boot time, remove the double startup IPI and 10 ms delay from lapic_cpu_init.c. The change is currently restricted to recent model AMD processors, though it could be applied to others after successful testing. Signed-off-by: Scott Duplichan <[email protected]> Acked-by: Myles Watson <[email protected]> Modified: trunk/src/cpu/x86/lapic/lapic_cpu_init.c Modified: trunk/src/cpu/x86/lapic/lapic_cpu_init.c ============================================================================== --- trunk/src/cpu/x86/lapic/lapic_cpu_init.c Tue Oct 19 06:26:17 2010 (r5966) +++ trunk/src/cpu/x86/lapic/lapic_cpu_init.c Tue Oct 19 06:36:42 2010 (r5967) @@ -113,7 +113,9 @@ } return 0; } +#if !defined (CONFIG_CPU_AMD_MODEL_10XXX) && !defined (CONFIG_CPU_AMD_MODEL_14XXX) mdelay(10); +#endif printk(BIOS_SPEW, "Deasserting INIT.\n"); @@ -143,7 +145,11 @@ start_eip = (unsigned long)_secondary_start; #endif +#if !defined (CONFIG_CPU_AMD_MODEL_10XXX) && !defined (CONFIG_CPU_AMD_MODEL_14XXX) num_starts = 2; +#else + num_starts = 1; +#endif /* * Run STARTUP IPI loop. -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

