diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-11-20 08:03:49 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-12-01 05:47:18 +0100 |
commit | 7d25651ed3eb78228a00b479454d0ab2417f3f2a (patch) | |
tree | 07c33833b4a763def10d3c7002439a04c1468f76 /src/mainboard/gizmosphere | |
parent | 036a581b8fa9478d4dba1bf9e576ee9cc0bead24 (diff) | |
download | coreboot-7d25651ed3eb78228a00b479454d0ab2417f3f2a.tar.xz |
AGESA f14: Consolidate early P-states setting
Change-Id: I3feed296b6ff9908e783c1221a8f61d9c548fef4
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/17564
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/gizmosphere')
-rw-r--r-- | src/mainboard/gizmosphere/gizmo/romstage.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mainboard/gizmosphere/gizmo/romstage.c b/src/mainboard/gizmosphere/gizmo/romstage.c index e6276ff04e..1335a8fe6a 100644 --- a/src/mainboard/gizmosphere/gizmo/romstage.c +++ b/src/mainboard/gizmosphere/gizmo/romstage.c @@ -37,21 +37,9 @@ #include <cpu/amd/mtrr.h> #include <cpu/amd/agesa/s3_resume.h> -#define MSR_MTRR_VARIABLE_BASE6 0x020C -#define MSR_MTRR_VARIABLE_MASK6 0x020D -#define MSR_PSTATE_CONTROL 0xC0010062 - - void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) { u32 val; - msr_t msr; - - - /* All cores: set pstate 0 (1600 MHz) early to save a few ms of boot time */ - msr.lo = 0; - msr.hi = 0; - wrmsr (MSR_PSTATE_CONTROL, msr); amd_initmmio(); |