From b42ca4d0b2fafe7214396d30a1a833ac33cf85bc Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Fri, 28 Oct 2022 08:37:22 +0100 Subject: 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 Change-Id: Ief088e012b65be32648f581fc3190e1000bca241 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68938 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/ec/starlabs/merlin/variants/cezanne/ecdefs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ec/starlabs/merlin/variants/cezanne') diff --git a/src/ec/starlabs/merlin/variants/cezanne/ecdefs.h b/src/ec/starlabs/merlin/variants/cezanne/ecdefs.h index 6a3bad9286..0826456979 100644 --- a/src/ec/starlabs/merlin/variants/cezanne/ecdefs.h +++ b/src/ec/starlabs/merlin/variants/cezanne/ecdefs.h @@ -23,5 +23,6 @@ #define ECRAM_MAX_CHARGE 0x23 #define ECRAM_FAN_MODE 0x24 #define ECRAM_FAST_CHARGE dead_code_t(uint8_t) +#define ECRAM_MIRROR_FLAG 0x05 #endif -- cgit v1.2.3