summaryrefslogtreecommitdiff
path: root/src/soc/intel/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/block/smm/smihandler.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/smm/smihandler.c b/src/soc/intel/common/block/smm/smihandler.c
index 54f4e41e50..12c538eb96 100644
--- a/src/soc/intel/common/block/smm/smihandler.c
+++ b/src/soc/intel/common/block/smm/smihandler.c
@@ -28,6 +28,7 @@
#include <intelblocks/fast_spi.h>
#include <intelblocks/pmclib.h>
#include <intelblocks/smihandler.h>
+#include <intelblocks/tco.h>
#include <intelblocks/uart.h>
#include <smmstore.h>
#include <soc/nvs.h>
@@ -453,6 +454,14 @@ void smihandler_southbridge_tco(
/* Handle TCO timeout */
printk(BIOS_DEBUG, "TCO Timeout.\n");
}
+
+ if (tco_sts & (TCO_INTRD_DET << 16)) { /* INTRUDER# assertion */
+ /*
+ * Handle intrusion event
+ * If we ever get here, probably the case has been opened.
+ */
+ printk(BIOS_CRIT, "Case intrusion detected.\n");
+ }
}
void smihandler_southbridge_periodic(