From 12a98ffbfb6660552fb2940b0a8aae2edfdfda66 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Mon, 22 Nov 2021 08:57:08 -0700 Subject: mb/system76/*: Disable IME by CMOS option Add CMOS option to set IME mode. Default to "Disable" for CNL and TGL-H, and "Enable" for TGL-U. Not set for KBL, which uses ME_CLEANER. The HECI device must be enabled in devicetree for switching modes to function correctly. Change-Id: I3163dcb0a4af020c2cf6f94f2bb26380f17c253e Signed-off-by: Tim Crawford Reviewed-on: https://review.coreboot.org/c/coreboot/+/57621 Tested-by: build bot (Jenkins) Reviewed-by: Jeremy Soller --- src/mainboard/system76/cml-u/cmos.default | 1 + src/mainboard/system76/cml-u/cmos.layout | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'src/mainboard/system76/cml-u') diff --git a/src/mainboard/system76/cml-u/cmos.default b/src/mainboard/system76/cml-u/cmos.default index 06b04332a2..0d376751c1 100644 --- a/src/mainboard/system76/cml-u/cmos.default +++ b/src/mainboard/system76/cml-u/cmos.default @@ -1,2 +1,3 @@ boot_option=Fallback debug_level=Debug +me_state=Disable diff --git a/src/mainboard/system76/cml-u/cmos.layout b/src/mainboard/system76/cml-u/cmos.layout index ac817525dd..a53c3f4bba 100644 --- a/src/mainboard/system76/cml-u/cmos.layout +++ b/src/mainboard/system76/cml-u/cmos.layout @@ -12,10 +12,15 @@ entries 400 8 r 0 century 412 4 e 6 debug_level +416 1 e 2 me_state +417 3 h 0 me_state_counter 984 16 h 0 check_sum enumerations +2 0 Enable +2 1 Disable + 4 0 Fallback 4 1 Normal -- cgit v1.2.3