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>
This commit is contained in:
CHLin
2017-09-20 14:32:50 +08:00
committed by chrome-bot
parent 72ea08f9db
commit b440a0d099
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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