summaryrefslogtreecommitdiff
path: root/src/ec/starlabs/merlin/variants/kbl
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/variants/kbl
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/variants/kbl')
-rw-r--r--src/ec/starlabs/merlin/variants/kbl/ecdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ec/starlabs/merlin/variants/kbl/ecdefs.h b/src/ec/starlabs/merlin/variants/kbl/ecdefs.h
index 3b693173af..8f3355dd0a 100644
--- a/src/ec/starlabs/merlin/variants/kbl/ecdefs.h
+++ b/src/ec/starlabs/merlin/variants/kbl/ecdefs.h
@@ -23,5 +23,6 @@
#define ECRAM_FN_CTRL_REVERSE 0x43
#define ECRAM_MAX_CHARGE dead_code_t(uint8_t)
#define ECRAM_FAST_CHARGE dead_code_t(uint8_t)
+#define ECRAM_MIRROR_FLAG 0x04
#endif