summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-14 11:19:09 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-15 03:57:13 +0000
commit1edd66c1ef5a44b71d7fbe4de567905788e94e79 (patch)
treef0d3b881734cd6eb96c394079ea9253b8ea34f96 /util
parent15a971b89fe23eb92cd3a88bff8726beae87669d (diff)
downloadcoreboot-1edd66c1ef5a44b71d7fbe4de567905788e94e79.tar.xz
util/msrtool: Check for VENDOR_AMD for K8 probe
Change-Id: Icc3973dfc7217ca649fb4151ccdea5461a550bb8 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26272 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util')
-rw-r--r--util/msrtool/k8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/msrtool/k8.c b/util/msrtool/k8.c
index 0394333082..16f626f55a 100644
--- a/util/msrtool/k8.c
+++ b/util/msrtool/k8.c
@@ -16,7 +16,7 @@
#include "msrtool.h"
int k8_probe(const struct targetdef *target, const struct cpuid_t *id) {
- return 0xF == id->family;
+ return (VENDOR_AMD == id->vendor) && (0xF == id->family);
}
/*