summaryrefslogtreecommitdiff
path: root/src/ec/starlabs/merlin/Makefile.inc
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-03-09 08:23:29 +0000
committerFelix Held <felix-coreboot@felixheld.de>2022-03-30 14:22:08 +0000
commit78342989c48619accf2d3f1a175876fa91cb15ac (patch)
treee2d6f3983d8d081b6bf9c9bc1a0f926b823ced7a /src/ec/starlabs/merlin/Makefile.inc
parent6082ee5281bdf0c3f3d6981873efcd93a94b9330 (diff)
ec/starlabs/merlin: Add support for Nuvoton EC's
Support was created for the NPCE9m5x series, using version 1.1 of the datasheet. The specific model tested was the NPCE985P/G, on the StarLite Mk IV with version 1.00 of the EC firmware. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: Ib66baf1e88f5d548ce955dffa00c9b88255b2f95 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62702 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/ec/starlabs/merlin/Makefile.inc')
-rw-r--r--src/ec/starlabs/merlin/Makefile.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ec/starlabs/merlin/Makefile.inc b/src/ec/starlabs/merlin/Makefile.inc
index 3445ef3aa9..ac0d5e3fee 100644
--- a/src/ec/starlabs/merlin/Makefile.inc
+++ b/src/ec/starlabs/merlin/Makefile.inc
@@ -26,3 +26,12 @@ warn_no_ite_fw:
endif
endif
endif
+
+ifeq ($(CONFIG_EC_STARLABS_NUVOTON),y)
+
+EC_VARIANT_DIR := $(call strip_quotes, $(CONFIG_EC_VARIANT_DIR))
+CPPFLAGS_common += -I$(src)/ec/starlabs/merlin/variants/$(EC_VARIANT_DIR)
+
+all-y += nuvoton.c
+
+endif