diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2017-01-22 22:19:24 +0100 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-05-13 10:07:12 +0000 |
commit | 199a23cd8ac32236b9112709a6910c4055c71932 (patch) | |
tree | bf60362f5021751b37da357eb8989a2e78745999 /util/msrtool/intel_nehalem.c | |
parent | f5f552afcd471ba7ab9dbd77789f2076af176865 (diff) | |
download | coreboot-199a23cd8ac32236b9112709a6910c4055c71932.tar.xz |
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_nehalem.c')
-rw-r--r-- | util/msrtool/intel_nehalem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/msrtool/intel_nehalem.c b/util/msrtool/intel_nehalem.c index c133653ee9..679efb5f1c 100644 --- a/util/msrtool/intel_nehalem.c +++ b/util/msrtool/intel_nehalem.c @@ -16,7 +16,8 @@ #include "msrtool.h" int intel_nehalem_probe(const struct targetdef *target, const struct cpuid_t *id) { - return ((0x6 == id->family) && ( + return ((VENDOR_INTEL == id->vendor) && + (0x6 == id->family) && ( (0x1a == id->model) || (0x1e == id->model) || (0x1f == id->model) || |