From 199a23cd8ac32236b9112709a6910c4055c71932 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Sun, 22 Jan 2017 22:19:24 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/18256 Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- util/msrtool/intel_pentium3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util/msrtool/intel_pentium3.c') diff --git a/util/msrtool/intel_pentium3.c b/util/msrtool/intel_pentium3.c index 456963fbfb..6b12428294 100644 --- a/util/msrtool/intel_pentium3.c +++ b/util/msrtool/intel_pentium3.c @@ -16,7 +16,8 @@ #include "msrtool.h" int intel_pentium3_probe(const struct targetdef *target, const struct cpuid_t *id) { - return ((0x6 == id->family) && ( + return ((VENDOR_INTEL == id->vendor) && + (0x6 == id->family) && ( (0xa == id->model) || (0xb == id->model) )); -- cgit v1.2.3