aboutsummaryrefslogtreecommitdiff
path: root/src/ec/starlabs/merlin/ec.h
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-10-28 08:37:22 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-07 14:19:24 +0000
commitb42ca4d0b2fafe7214396d30a1a833ac33cf85bc (patch)
tree910b28ff69188137c66a2faa8f837f405549ef72 /src/ec/starlabs/merlin/ec.h
parente477b0e8de6cd9cf97f381e9ff14934f8ccc33e1 (diff)
ec/starlabs/merlin: Add support for enabling the 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. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: Ief088e012b65be32648f581fc3190e1000bca241 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68938 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/ec/starlabs/merlin/ec.h')
-rw-r--r--src/ec/starlabs/merlin/ec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ec/starlabs/merlin/ec.h b/src/ec/starlabs/merlin/ec.h
index ca1d081f0c..ff01c89679 100644
--- a/src/ec/starlabs/merlin/ec.h
+++ b/src/ec/starlabs/merlin/ec.h
@@ -98,6 +98,10 @@
#define KBL_DISABLED 0x00
#define KBL_ENABLED 0xdd
+/* Mirror Flag */
+#define MIRROR_DISABLED 0x00
+#define MIRROR_ENABLED 0x01
+
uint16_t ec_get_version(void);
#endif