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_pentium4_early.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'util/msrtool/intel_pentium4_early.c') diff --git a/util/msrtool/intel_pentium4_early.c b/util/msrtool/intel_pentium4_early.c index 537d9e3a24..649be04349 100644 --- a/util/msrtool/intel_pentium4_early.c +++ b/util/msrtool/intel_pentium4_early.c @@ -16,7 +16,9 @@ #include "msrtool.h" int intel_pentium4_early_probe(const struct targetdef *target, const struct cpuid_t *id) { - return ((0xf == id->family) && (0x2 == id->model)); + return ((VENDOR_INTEL == id->vendor) && + (0xf == id->family) && + (0x2 == id->model)); } const struct msrdef intel_pentium4_early_msrs[] = { -- cgit v1.2.3