msrtool: Fix Intel CPUs detection
Added vendor check in sys.c file and fixed models checking in intel targets files. Change-Id: I1ce52bbce431dea79e903d6bc7a12e5b9ad061be Signed-off-by: Anton Kochkov <anton.kochkov@gmail.com> Reviewed-on: http://review.coreboot.org/1169 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
committed by
Stefan Reinauer
parent
e1e6a91ce0
commit
ffbbecc9ee
@ -21,7 +21,7 @@
|
||||
|
||||
int intel_core2_early_probe(const struct targetdef *target) {
|
||||
struct cpuid_t *id = cpuid();
|
||||
return ((0x6 == id->family)&(0xf == id->model));
|
||||
return ((0x6 == id->family) && (0xf == id->model));
|
||||
}
|
||||
|
||||
const struct msrdef intel_core2_early_msrs[] = {
|
||||
|
Reference in New Issue
Block a user