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:
parent
15a971b89f
commit
1edd66c1ef
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue