summaryrefslogtreecommitdiff
path: root/src/ec/starlabs/merlin/variants/glk
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2024-03-26 09:09:22 +0000
committerFelix Held <felix-coreboot@felixheld.de>2024-09-10 13:41:16 +0000
commitc4a6eb09f98d59bed375e653de4d91a85ebe8098 (patch)
treefc28337ad45d1b89fb1aa9c24dfcae2d461d1760 /src/ec/starlabs/merlin/variants/glk
parentd380ca64d04c39055988c0dac2ea00e2b67a794a (diff)
ec/starlabs/merlin: Move the chip id check
As the merlin EC supports both the IT8987 and IT5570, move the check into the code so the same variant directory can be used for both chips. Change-Id: I8c43a367e42f7e56ddd26b1c8fe7bf4b275d4ac3 Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83632 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/starlabs/merlin/variants/glk')
-rw-r--r--src/ec/starlabs/merlin/variants/glk/ecdefs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ec/starlabs/merlin/variants/glk/ecdefs.h b/src/ec/starlabs/merlin/variants/glk/ecdefs.h
index b2e2f2f8ab..c97e252bf4 100644
--- a/src/ec/starlabs/merlin/variants/glk/ecdefs.h
+++ b/src/ec/starlabs/merlin/variants/glk/ecdefs.h
@@ -10,9 +10,6 @@
#ifndef _EC_STARLABS_GLK_EC_DEFS_H
#define _EC_STARLABS_GLK_EC_DEFS_H
-/* IT8987 chip ID byte values. */
-#define ITE_CHIPID_VAL 0x8987
-
/* EC RAM offsets. */
#define ECRAM_TRACKPAD_STATE 0x14
#define ECRAM_KBL_STATE 0x19