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 <scott@notabs.org> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5967 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
af786b618d
commit
236aef238f
|
@ -113,7 +113,9 @@ static int lapic_start_cpu(unsigned long apicid)
|
|||
}
|
||||
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 @@ static int lapic_start_cpu(unsigned long apicid)
|
|||
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.
|
||||
|
|
Loading…
Reference in New Issue