summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2017-11-26 15:34:20 +0100
committerMartin Roth <martinroth@google.com>2017-12-11 01:10:51 +0000
commitf6bbc603fadf4fdb6c9c86775739ff1b32ab5f1e (patch)
tree71bde50e867fdbfd66fb1fba65aa179f8827dfcc /src/mainboard
parenta78319ba26c01c3bd5a3573c448ea39394d81eaf (diff)
downloadcoreboot-f6bbc603fadf4fdb6c9c86775739ff1b32ab5f1e.tar.xz
intel: Use MSR_EBC_FREQUENCY_ID instead of 0x2c
Change-Id: Ib1b761fc417f1bb000f408d3bed5e8666963f51d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/22603 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/asus/p5gc-mx/romstage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/asus/p5gc-mx/romstage.c b/src/mainboard/asus/p5gc-mx/romstage.c
index a29478c7d9..69db496437 100644
--- a/src/mainboard/asus/p5gc-mx/romstage.c
+++ b/src/mainboard/asus/p5gc-mx/romstage.c
@@ -94,7 +94,7 @@ static u8 msr_get_fsb(void)
/* Netburst */
if (((eax >> 8) & 0xf) == 0xf) {
- msr = rdmsr(0x2c);
+ msr = rdmsr(MSR_EBC_FREQUENCY_ID);
fsbcfg = (msr.lo >> 16) & 0x7;
} else { /* Intel Core 2 */
msr = rdmsr(MSR_FSB_FREQ);