summaryrefslogtreecommitdiff
path: root/util/intelmetool/intelmetool.c
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2019-02-23 14:01:00 +1100
committerPatrick Georgi <pgeorgi@google.com>2019-03-07 17:22:22 +0000
commitf4491e73ca186126ef83be8d91fe94229e16362c (patch)
tree1b1e1d525079b9027f3d2bca4b3f9cb5e212fdaf /util/intelmetool/intelmetool.c
parent2847e1e71495158f1af02465fd6083674d767897 (diff)
intelmetool: Consolidate all model support from upstream
Some of the older chipsets that are known not to have ME at all were removed for some reason, add them back in. Also some newer chipsets/ME models were missing, add them in. Change-Id: Iaed9a342e478a483113bf81d25042a6041fbc4ba Signed-off-by: Damien Zammit <damien@zamaudio.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31588 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'util/intelmetool/intelmetool.c')
-rw-r--r--util/intelmetool/intelmetool.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/util/intelmetool/intelmetool.c b/util/intelmetool/intelmetool.c
index 5a0002596c..37cd357a8c 100644
--- a/util/intelmetool/intelmetool.c
+++ b/util/intelmetool/intelmetool.c
@@ -138,7 +138,12 @@ static int pci_platform_scan(void)
if (dev->vendor_id != PCI_VENDOR_ID_INTEL)
continue;
- if (PCI_DEV_HAS_ME_DISABLE(dev->device_id)) {
+ if (PCI_DEV_NO_ME(dev->device_id)) {
+ printf(CGRN "Good news, you have a `%s` so you have "
+ "no ME present at all, continuing...\n\n"
+ RESET, name);
+ break;
+ } else if (PCI_DEV_HAS_ME_DISABLE(dev->device_id)) {
printf(CGRN "Good news, you have a `%s` so ME is "
"present but can be disabled, continuing...\n\n"
RESET, name);