summaryrefslogtreecommitdiffstats
path: root/util/msrtool/intel_pentium3_early.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-01-22 22:19:24 +0100
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-05-13 10:07:12 +0000
commit199a23cd8ac32236b9112709a6910c4055c71932 (patch)
treebf60362f5021751b37da357eb8989a2e78745999 /util/msrtool/intel_pentium3_early.c
parentf5f552afcd471ba7ab9dbd77789f2076af176865 (diff)
downloadcoreboot-199a23cd8ac32236b9112709a6910c4055c71932.tar.gz
coreboot-199a23cd8ac32236b9112709a6910c4055c71932.tar.bz2
coreboot-199a23cd8ac32236b9112709a6910c4055c71932.zip
mstrool: only use intel targets for actual intel CPUs
VIA c3 & C7 use the the family of 0x6 and model 10, but are not quite Pentium III. Change-Id: I85e9853b42cfd20db46db0bd244620d6813bc826 Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Reviewed-on: https://review.coreboot.org/18256 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/msrtool/intel_pentium3_early.c')
-rw-r--r--util/msrtool/intel_pentium3_early.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/msrtool/intel_pentium3_early.c b/util/msrtool/intel_pentium3_early.c
index 925b24fe31f0..afdc62ec66ca 100644
--- a/util/msrtool/intel_pentium3_early.c
+++ b/util/msrtool/intel_pentium3_early.c
@@ -16,7 +16,8 @@
#include "msrtool.h"
int intel_pentium3_early_probe(const struct targetdef *target, const struct cpuid_t *id) {
- return ((0x6 == id->family) && (
+ return ((VENDOR_INTEL == id->vendor) &&
+ (0x6 == id->family) && (
(0x7 == id->model) ||
(0x8 == id->model)
));