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>
This commit is contained in:
Lubomir Rintel
2017-01-22 22:19:24 +01:00
committed by Philipp Deppenwiese
parent f5f552afcd
commit 199a23cd8a
9 changed files with 23 additions and 10 deletions

View File

@@ -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[] = {