summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCHLin <CHLIN56@nuvoton.com>2017-09-20 14:32:50 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-09-26 22:35:19 -0700
commitb440a0d099d4b4b8cf519f6f834ff233b29bb384 (patch)
tree68c0580ea27ec1a53b13237fdaeceb8a0af3a4c9
parent72ea08f9db07160177afdf92ba8a7f7e1230331a (diff)
downloadchrome-ec-b440a0d099d4b4b8cf519f6f834ff233b29bb384.tar.gz
npcx7_evb: change the default setting of npcx7 evb
In this CL, we add the follow changes for npcx7 evb board: 1. Add comments in the build.mk to indicate how to set CHIP_VARIANT for EVBs which use different npcx7 ec. - npcx7m6f : 144 pins (default) - npcx7m6g : 128 pins 2. Turn on the eSPI host interface as default in board.h BRANCH=none BUG=none TEST=No build errors for "make buildall". Change-Id: Ib926e8596a09a28f547c35a0256be2aa394f9a36 Signed-off-by: CHLin <CHLIN56@nuvoton.com> Reviewed-on: https://chromium-review.googlesource.com/674887 Commit-Ready: CH Lin <chlin56@nuvoton.com> Tested-by: CH Lin <chlin56@nuvoton.com> Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--board/npcx7_evb/board.h3
-rw-r--r--board/npcx7_evb/build.mk5
2 files changed, 7 insertions, 1 deletions
diff --git a/board/npcx7_evb/board.h b/board/npcx7_evb/board.h
index 0c93999497..7e8afa78d8 100644
--- a/board/npcx7_evb/board.h
+++ b/board/npcx7_evb/board.h
@@ -14,6 +14,9 @@
#define CONFIG_SPI
#define CONFIG_LPC
#define CONFIG_I2C
+/* Features of eSPI */
+#define CONFIG_ESPI /* Use eSPI protocol for host interface of x86 CPU */
+#define CONFIG_ESPI_VW_SIGNALS /* Use VW signals instead of GPIOs */
/* Optional features */
#define CONFIG_BOARD_VERSION
diff --git a/board/npcx7_evb/build.mk b/board/npcx7_evb/build.mk
index 438573deb4..4ef64f71fa 100644
--- a/board/npcx7_evb/build.mk
+++ b/board/npcx7_evb/build.mk
@@ -6,7 +6,10 @@
# Board specific files build
#
-# the IC is Nuvoton NPCX7 M-Series EC (npcx7m6f)
+# the IC is Nuvoton NPCX7 M-Series EC (npcx7m6g, npcx7m6f)
+# CHIP_VARIANT:
+# npcx7m6f - for npcx7 ec with 144 pins package
+# npcx7m6g - for npcx7 ec with 128 pins package
CHIP:=npcx
CHIP_FAMILY:=npcx7