diff options
Diffstat (limited to 'board/volteer/build.mk')
-rw-r--r-- | board/volteer/build.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/board/volteer/build.mk b/board/volteer/build.mk index 72645a86cd..9ebde9ae1b 100644 --- a/board/volteer/build.mk +++ b/board/volteer/build.mk @@ -11,4 +11,21 @@ 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-$(VOLTEER_POWER_SEQUENCE)+=power_sequence.o |