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>
This commit is contained in:
Kyösti Mälkki 2018-05-14 11:19:09 +03:00
parent 15a971b89f
commit 1edd66c1ef
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
#include "msrtool.h" #include "msrtool.h"
int k8_probe(const struct targetdef *target, const struct cpuid_t *id) { int k8_probe(const struct targetdef *target, const struct cpuid_t *id) {
return 0xF == id->family; return (VENDOR_AMD == id->vendor) && (0xF == id->family);
} }
/* /*