summaryrefslogtreecommitdiffstats
path: root/util/msrtool/geodelx.c
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-11-25 02:25:37 +0000
committerPeter Stuge <peter@stuge.se>2009-11-25 02:25:37 +0000
commit46c920e13ac83513897bed1bc27529ff2cdbb436 (patch)
treedcbf6eabd86636b1d3622bc203b1087b7f83d7b2 /util/msrtool/geodelx.c
parent26774f2b729d791c9dbf5ba0f7fcf4a59e3795a5 (diff)
downloadcoreboot-46c920e13ac83513897bed1bc27529ff2cdbb436.tar.gz
coreboot-46c920e13ac83513897bed1bc27529ff2cdbb436.tar.bz2
coreboot-46c920e13ac83513897bed1bc27529ff2cdbb436.zip
msrtool: Fix Geode LX probe function, Family/Model were swapped
Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4953 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/msrtool/geodelx.c')
-rw-r--r--util/msrtool/geodelx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/msrtool/geodelx.c b/util/msrtool/geodelx.c
index 65317a2698f0..8cf7ec00489a 100644
--- a/util/msrtool/geodelx.c
+++ b/util/msrtool/geodelx.c
@@ -21,7 +21,7 @@
int geodelx_probe(const struct targetdef *target) {
struct cpuid_t *id = cpuid();
- return 10 == id->family && 5 == id->model;
+ return 5 == id->family && 10 == id->model;
}
const struct msrdef geodelx_msrs[] = {