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_atom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'util/msrtool/intel_atom.c') diff --git a/util/msrtool/intel_atom.c b/util/msrtool/intel_atom.c index c055f4cc13..2d89c9c640 100644 --- a/util/msrtool/intel_atom.c +++ b/util/msrtool/intel_atom.c @@ -16,8 +16,9 @@ #include "msrtool.h" int intel_atom_probe(const struct targetdef *target, const struct cpuid_t *id) { - return (0x6 == id->family) && - (0x1c == id->model); + return ((VENDOR_INTEL == id->vendor) && + (0x6 == id->family) && + (0x1c == id->model)); } const struct msrdef intel_atom_msrs[] = { -- cgit v1.2.3