summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/ibexpeak/me.c
diff options
context:
space:
mode:
authorJames Ye <jye836@gmail.com>2020-02-22 20:30:49 +1100
committerEvgeny Zinoviev <me@ch1p.io>2021-02-04 00:24:51 +0300
commitae1d122372c0c0393b8278ee6d7e6c61ebf364ce (patch)
tree4b873e23b34c18f01ea971dc73405696ab2baa46 /src/southbridge/intel/ibexpeak/me.c
parent585f4d46cca95d8b8219d21e0af5fb487827318a (diff)
sb/intel/{bd82x6x,ibexpeak}: hide MEI if ME inoperable
- Add Kconfig option to hide the Management Engine Interface device so the OS doesn't try to access it, if the Management Engine is in an inoperable mode, e.g. if me_cleaner is used. - Also hide the MEI if the ME is in Soft Temp Disable mode. Change-Id: Ie4a35bf5fc196e0a02b7591cdb8633d38f0c7f3e Signed-off-by: James Ye <jye836@gmail.com> Signed-off-by: Evgeny Zinoviev <me@ch1p.io>
Diffstat (limited to 'src/southbridge/intel/ibexpeak/me.c')
-rw-r--r--src/southbridge/intel/ibexpeak/me.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/southbridge/intel/ibexpeak/me.c b/src/southbridge/intel/ibexpeak/me.c
index 6a45fb42eb..20b8aac94a 100644
--- a/src/southbridge/intel/ibexpeak/me.c
+++ b/src/southbridge/intel/ibexpeak/me.c
@@ -476,6 +476,10 @@ static void intel_me_init(struct device *dev)
switch (path) {
case ME_S3WAKE_BIOS_PATH:
+ case ME_DISABLE_BIOS_PATH:
+#if CONFIG(HIDE_MEI_ON_ERROR)
+ case ME_ERROR_BIOS_PATH:
+#endif
intel_me_hide(dev);
break;
@@ -494,9 +498,10 @@ static void intel_me_init(struct device *dev)
*/
break;
+#if !CONFIG(HIDE_MEI_ON_ERROR)
case ME_ERROR_BIOS_PATH:
+#endif
case ME_RECOVERY_BIOS_PATH:
- case ME_DISABLE_BIOS_PATH:
case ME_FIRMWARE_UPDATE_BIOS_PATH:
break;
}