From da260752ab7816a5dfbc58f24736a50f50f5320c Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Mon, 13 Mar 2023 10:57:41 +0000 Subject: [PATCH] mb/starlabs/*: Add CMOS entries for the mirror flag Add the required CMOS entries for the mirror flag, so that it can be enabled from a defconfig. Signed-off-by: Sean Rhodes Change-Id: I174ac896df050480ee90c8141c5536b628c98432 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73682 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/mainboard/starlabs/lite/cmos.default | 1 + src/mainboard/starlabs/lite/cmos.layout | 2 ++ src/mainboard/starlabs/lite/variants/glkr/cmos.default | 1 + src/mainboard/starlabs/lite/variants/glkr/cmos.layout | 2 ++ src/mainboard/starlabs/starbook/cmos.default | 1 + src/mainboard/starlabs/starbook/cmos.layout | 2 ++ src/mainboard/starlabs/starbook/variants/tgl/cmos.default | 1 + src/mainboard/starlabs/starbook/variants/tgl/cmos.layout | 2 ++ 8 files changed, 12 insertions(+) diff --git a/src/mainboard/starlabs/lite/cmos.default b/src/mainboard/starlabs/lite/cmos.default index 2455e2b325..c59bbe549c 100644 --- a/src/mainboard/starlabs/lite/cmos.default +++ b/src/mainboard/starlabs/lite/cmos.default @@ -12,6 +12,7 @@ legacy_8254_timer=Disable # EC kbl_timeout=30 seconds fn_ctrl_swap=Disable +mirror_flag=Disable # southbridge power_on_after_fail=Disable # Functions diff --git a/src/mainboard/starlabs/lite/cmos.layout b/src/mainboard/starlabs/lite/cmos.layout index e6b3be2da7..71dd3902f6 100644 --- a/src/mainboard/starlabs/lite/cmos.layout +++ b/src/mainboard/starlabs/lite/cmos.layout @@ -28,6 +28,8 @@ entries # coreboot config options: EC 600 3 e 4 kbl_timeout 608 1 e 1 fn_ctrl_swap +616 1 e 1 mirror_flag +624 4 h 0 mirror_flag_counter # coreboot config options: southbridge 800 2 e 6 power_on_after_fail diff --git a/src/mainboard/starlabs/lite/variants/glkr/cmos.default b/src/mainboard/starlabs/lite/variants/glkr/cmos.default index dedd7f7d2b..3dbe92d5d0 100644 --- a/src/mainboard/starlabs/lite/variants/glkr/cmos.default +++ b/src/mainboard/starlabs/lite/variants/glkr/cmos.default @@ -13,6 +13,7 @@ legacy_8254_timer=Disable kbl_timeout=30 seconds fn_ctrl_swap=Disable fast_charge=Normal +mirror_flag=Disable # southbridge power_on_after_fail=Disable # Functions diff --git a/src/mainboard/starlabs/lite/variants/glkr/cmos.layout b/src/mainboard/starlabs/lite/variants/glkr/cmos.layout index 3dfc8de03b..d53116c80b 100644 --- a/src/mainboard/starlabs/lite/variants/glkr/cmos.layout +++ b/src/mainboard/starlabs/lite/variants/glkr/cmos.layout @@ -29,6 +29,8 @@ entries 600 3 e 4 kbl_timeout 608 1 e 1 fn_ctrl_swap 616 1 e 11 fast_charge +624 1 e 1 mirror_flag +632 4 h 0 mirror_flag_counter # coreboot config options: southbridge 800 2 e 6 power_on_after_fail diff --git a/src/mainboard/starlabs/starbook/cmos.default b/src/mainboard/starlabs/starbook/cmos.default index 151686ce44..18abc93004 100644 --- a/src/mainboard/starlabs/starbook/cmos.default +++ b/src/mainboard/starlabs/starbook/cmos.default @@ -16,6 +16,7 @@ pci_hot_plug=Disable # EC kbl_timeout=30 seconds fn_ctrl_swap=Disable +mirror_flag=Disable # southbridge power_on_after_fail=Disable # Functions diff --git a/src/mainboard/starlabs/starbook/cmos.layout b/src/mainboard/starlabs/starbook/cmos.layout index 9fc0b7ddf0..fa912b5a13 100644 --- a/src/mainboard/starlabs/starbook/cmos.layout +++ b/src/mainboard/starlabs/starbook/cmos.layout @@ -35,6 +35,8 @@ entries 608 1 e 1 fn_ctrl_swap 616 2 e 8 max_charge 624 2 e 9 fan_mode +632 1 e 1 mirror_flag +640 4 h 0 mirror_flag_counter # coreboot config options: southbridge 800 2 e 6 power_on_after_fail diff --git a/src/mainboard/starlabs/starbook/variants/tgl/cmos.default b/src/mainboard/starlabs/starbook/variants/tgl/cmos.default index cfc9a612fb..cca64feeab 100644 --- a/src/mainboard/starlabs/starbook/variants/tgl/cmos.default +++ b/src/mainboard/starlabs/starbook/variants/tgl/cmos.default @@ -16,6 +16,7 @@ thunderbolt=Disable # EC kbl_timeout=30 seconds fn_ctrl_swap=Disable +mirror_flag=Disable # southbridge power_on_after_fail=Disable # Functions diff --git a/src/mainboard/starlabs/starbook/variants/tgl/cmos.layout b/src/mainboard/starlabs/starbook/variants/tgl/cmos.layout index c4a49c5dba..1700d0d9c1 100644 --- a/src/mainboard/starlabs/starbook/variants/tgl/cmos.layout +++ b/src/mainboard/starlabs/starbook/variants/tgl/cmos.layout @@ -35,6 +35,8 @@ entries 608 1 e 1 fn_ctrl_swap 616 2 e 8 max_charge 624 2 e 9 fan_mode +632 1 e 1 mirror_flag +640 4 h 0 mirror_flag_counter # coreboot config options: southbridge 800 2 e 6 power_on_after_fail