summaryrefslogtreecommitdiff
path: root/src/ec/starlabs/merlin/Kconfig
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2023-02-16 15:00:14 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-04-04 14:10:44 +0000
commit0579c609fbc61fff117f11b6692f770615be45cd (patch)
tree39899cd6c09ca72e971efd793b1cff7cb4af9e29 /src/ec/starlabs/merlin/Kconfig
parent5103b87a4d7b0b84a9773f9dc19a36caa7d4344f (diff)
ec/starlabs/merlin: Add support for the ITE mirror flag
When enabled, the EC will mirror the firmware contained inside the coreboot ROM. This allows it to be updated at the same time as coreboot. Enable the mirror flag if the installed EC firmware does not match the target version or if a CMOS option, "manual_mirror_flag" is set. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I377abbb37dc4d3e535e518a73e73969b25967daa Reviewed-on: https://review.coreboot.org/c/coreboot/+/73044 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/ec/starlabs/merlin/Kconfig')
-rw-r--r--src/ec/starlabs/merlin/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ec/starlabs/merlin/Kconfig b/src/ec/starlabs/merlin/Kconfig
index 6ccd21791c..5939854d1d 100644
--- a/src/ec/starlabs/merlin/Kconfig
+++ b/src/ec/starlabs/merlin/Kconfig
@@ -64,6 +64,20 @@ config EC_STARLABS_MAX_CHARGE
help
Select if the mainboard supports limiting the maximum charge of the battery.
+config EC_STARLABS_MIRROR_SUPPORT
+ bool "Enable mirror flag support"
+ default n
+ depends on EC_STARLABS_ITE
+ help
+ Select if the EC should mirror the EC firmware contained in the coreboot ROM.
+
+config EC_STARLABS_MIRROR_VERSION
+ hex "Version of the EC firmware that should be installed."
+ depends on EC_STARLABS_MIRROR_SUPPORT
+ help
+ The version of the EC that should be installed. The mirror flag will be activated
+ if this Kconfig option is set and it does not match the current EC version.
+
config EC_STARLABS_MERLIN
bool "Use open-source Merlin EC Firmware"
default n