Port persimmon r6583 to e350m1: pstate 0 early

Switch processor cores to pstate 0 early to reduce boot time.

Signed-off-by: Marshall Buschman <mbuschman@lucidmachines.com>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6626 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Marshall Buschman 2011-06-04 15:44:54 +00:00 committed by Peter Stuge
parent b3ee0d6bd6
commit fd460e620e
1 changed files with 3 additions and 0 deletions

View File

@ -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())
{ {