summaryrefslogtreecommitdiff
path: root/src/ec/starlabs/merlin/variants/tgl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/starlabs/merlin/variants/tgl')
-rw-r--r--src/ec/starlabs/merlin/variants/tgl/ecdefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ec/starlabs/merlin/variants/tgl/ecdefs.h b/src/ec/starlabs/merlin/variants/tgl/ecdefs.h
index 3441bc073f..cbc7b86e10 100644
--- a/src/ec/starlabs/merlin/variants/tgl/ecdefs.h
+++ b/src/ec/starlabs/merlin/variants/tgl/ecdefs.h
@@ -1,5 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <assert.h>
+#include <stdint.h>
+
/*
* EC communication interface for ITE Embedded Controller
*/
@@ -19,5 +22,6 @@
#define ECRAM_FN_CTRL_REVERSE 0x17
#define ECRAM_MAX_CHARGE 0x1a
#define ECRAM_FAN_MODE 0x1b
+#define ECRAM_FAST_CHARGE dead_code_t(uint8_t)
#endif