From b41369176fc8c997bf4162a6e44125b9e8e25484 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Wed, 10 Jan 2024 08:55:50 -0700 Subject: [PATCH] mb/system76: Add custom CMOS default for darp8,darp9 Since these boards will use S0ix they need to leave CSME enabled for the CPU to reach C10. Change-Id: I70c908402c9964508bb9c439d48d24773f5a35ab Signed-off-by: Tim Crawford --- src/mainboard/system76/adl/Kconfig | 4 ++++ src/mainboard/system76/adl/cmos-csme.default | 3 +++ src/mainboard/system76/rpl/Kconfig | 4 ++++ src/mainboard/system76/rpl/cmos-csme.default | 3 +++ 4 files changed, 14 insertions(+) create mode 100644 src/mainboard/system76/adl/cmos-csme.default create mode 100644 src/mainboard/system76/rpl/cmos-csme.default diff --git a/src/mainboard/system76/adl/Kconfig b/src/mainboard/system76/adl/Kconfig index 951d2abb976..38f9c5381ea 100644 --- a/src/mainboard/system76/adl/Kconfig +++ b/src/mainboard/system76/adl/Kconfig @@ -104,6 +104,10 @@ config MAINBOARD_VERSION default "oryp9" if BOARD_SYSTEM76_ORYP9 default "oryp10" if BOARD_SYSTEM76_ORYP10 +config CMOS_DEFAULT_FILE + default "src/mainboard/\$(MAINBOARDDIR)/cmos-csme.default" if BOARD_SYSTEM76_DARP8 + default "src/mainboard/\$(MAINBOARDDIR)/cmos.default" + config CONSOLE_POST default y diff --git a/src/mainboard/system76/adl/cmos-csme.default b/src/mainboard/system76/adl/cmos-csme.default new file mode 100644 index 00000000000..62715bc6bab --- /dev/null +++ b/src/mainboard/system76/adl/cmos-csme.default @@ -0,0 +1,3 @@ +boot_option=Fallback +debug_level=Debug +me_state=Enable diff --git a/src/mainboard/system76/rpl/Kconfig b/src/mainboard/system76/rpl/Kconfig index 92f02008f34..403fa63017a 100644 --- a/src/mainboard/system76/rpl/Kconfig +++ b/src/mainboard/system76/rpl/Kconfig @@ -133,6 +133,10 @@ config MAINBOARD_VERSION default "oryp11" if BOARD_SYSTEM76_ORYP11 default "serw13" if BOARD_SYSTEM76_SERW13 +config CMOS_DEFAULT_FILE + default "src/mainboard/\$(MAINBOARDDIR)/cmos-csme.default" if BOARD_SYSTEM76_DARP9 + default "src/mainboard/\$(MAINBOARDDIR)/cmos.default" + config CONSOLE_POST default y diff --git a/src/mainboard/system76/rpl/cmos-csme.default b/src/mainboard/system76/rpl/cmos-csme.default new file mode 100644 index 00000000000..62715bc6bab --- /dev/null +++ b/src/mainboard/system76/rpl/cmos-csme.default @@ -0,0 +1,3 @@ +boot_option=Fallback +debug_level=Debug +me_state=Enable