Switch processor cores to pstate 0 early to reduce boot time.
Signed-off-by: Scott Duplichan <scott@notabs.org> Acked-by: Marc Jones <marcj303@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6583 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
e73fc20886
commit
d9a634c756
|
@ -47,6 +47,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||||
u32 val;
|
u32 val;
|
||||||
u8 reg8;
|
u8 reg8;
|
||||||
|
|
||||||
|
// all cores: set pstate 0 (1600 MHz) early to save a few ms of boot time
|
||||||
|
__writemsr (0xc0010062, 0);
|
||||||
|
|
||||||
// early enable of SPI 33 MHz fast mode read
|
// early enable of SPI 33 MHz fast mode read
|
||||||
if (boot_cpu())
|
if (boot_cpu())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue