From 1edd66c1ef5a44b71d7fbe4de567905788e94e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 14 May 2018 11:19:09 +0300 Subject: util/msrtool: Check for VENDOR_AMD for K8 probe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Icc3973dfc7217ca649fb4151ccdea5461a550bb8 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/26272 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Nico Huber --- util/msrtool/k8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/msrtool') 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); } /* -- cgit v1.2.3