summaryrefslogtreecommitdiff
path: root/board/lindar/build.mk
diff options
context:
space:
mode:
authorjerry2.huang <jerry2.huang@lcfc.corp-partner.google.com>2020-07-20 17:49:53 +0800
committerCommit Bot <commit-bot@chromium.org>2020-07-31 03:23:11 +0000
commit864d4159b54fc62a2612f718d02f53918873b8fe (patch)
tree1cb7f93ee789eee9ac5ce9b3f967de41c09a8a20 /board/lindar/build.mk
parentad4f4e271b44310a48e851079258b0532cd93143 (diff)
downloadchrome-ec-864d4159b54fc62a2612f718d02f53918873b8fe.tar.gz
lindar: Initial EC image
Create the initial EC image for the lindar variant by copying the malefor reference board EC files into a new directory named for the variant. (Auto-Generated by create_initial_ec_image.sh version 1.0.3). BUG=b:161089195 BRANCH=none TEST=make BOARD=lindar Signed-off-by: jerry2.huang <jerry2.huang@lcfc.corp-partner.google.com> Change-Id: I6de3d444a6ecb81426201eb3d673c891474ddb93 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2309512 Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Diffstat (limited to 'board/lindar/build.mk')
-rw-r--r--board/lindar/build.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/board/lindar/build.mk b/board/lindar/build.mk
new file mode 100644
index 0000000000..ca046e8d97
--- /dev/null
+++ b/board/lindar/build.mk
@@ -0,0 +1,33 @@
+# -*- makefile -*-
+# Copyright 2020 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+#
+# Board specific files build
+#
+
+CHIP:=npcx
+CHIP_FAMILY:=npcx7
+CHIP_VARIANT:=npcx7m6fc
+BASEBOARD:=volteer
+
+# TODO: b/143375057 - Remove this code after power on.
+#
+# Temporary for board power on. Provide a Volteer specific make option
+# to enable the power signal GPIOs that are not stuffed by default. This
+# is a backup if board logic power sequencing needs to be adjusted.
+#
+# Set the following variable to 'y' to enable the Volteer optional power signals
+VOLTEER_POWER_SEQUENCE=
+ifneq (,$(VOLTEER_POWER_SEQUENCE))
+CFLAGS_BASEBOARD+=-DVOLTEER_POWER_SEQUENCE
+endif
+
+# Force changes to VOLTEER_POWER_SEQUENCE variable to trigger a full build.
+ENV_VARS := VOLTEER_POWER_SEQUENCE
+
+
+board-y=board.o
+board-y+=battery.o
+board-y+=led.o
+board-$(VOLTEER_POWER_SEQUENCE)+=power_sequence.o