diff options
author | CHLin <CHLIN56@nuvoton.com> | 2018-01-18 18:39:54 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-01-24 04:36:36 -0800 |
commit | 65cc83f7801532797a7c02a723e7dfb3a86e99e4 (patch) | |
tree | 0761649b0baf11f6ec92aa31f3d8b34c5a4c12bf /board/npcx7_evb/build.mk | |
parent | b58ceaca340e3baba8f87172109c36a600610570 (diff) | |
download | chrome-ec-65cc83f7801532797a7c02a723e7dfb3a86e99e4.tar.gz |
npcx7_evb: Define BOARD_VERSION for different npcx7 EVBs
There are two versions of npcx7 EVB. This CL adds the definition
BOARD_VERSION (default is 2) in board.h. So we can include different
features or set CONFIG_* flags based on the value of BOARD_VERSION to
meet the default HW configuration of npcx7 EVBs.
BRANCH=none
BUG=none
TEST=No build errors for make buildall.
TEST=Change BOARD_VERSION to 1/2; "BOARD=npcx7_evb make";
Flash the image on EVB 1/2; make sure the EVBs bootup.
Change-Id: Id4556f702af8c26778a649addde7cf490b5301fc
Signed-off-by: CHLin <CHLIN56@nuvoton.com>
Reviewed-on: https://chromium-review.googlesource.com/873510
Commit-Ready: CH Lin <chlin56@nuvoton.com>
Tested-by: CH Lin <chlin56@nuvoton.com>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/npcx7_evb/build.mk')
-rw-r--r-- | board/npcx7_evb/build.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/board/npcx7_evb/build.mk b/board/npcx7_evb/build.mk index 4ef64f71fa..af5c355292 100644 --- a/board/npcx7_evb/build.mk +++ b/board/npcx7_evb/build.mk @@ -6,13 +6,15 @@ # Board specific files build # -# the IC is Nuvoton NPCX7 M-Series EC (npcx7m6g, npcx7m6f) +# the IC is Nuvoton NPCX7 M-Series EC (npcx7m6g, npcx7m6f, npcx7m6xb, npcx7m7w) # CHIP_VARIANT: -# npcx7m6f - for npcx7 ec with 144 pins package -# npcx7m6g - for npcx7 ec with 128 pins package +# npcx7m6f - for npcx7 ec with 144 pins package +# npcx7m6g - for npcx7 ec with 128 pins package +# npcx7m6xb - for npcx7 ec with 144 pins package, enhanced features. +# npcx7m7w - for npcx7 ec with 144 pins package, enhanced features + WOV. CHIP:=npcx CHIP_FAMILY:=npcx7 -CHIP_VARIANT:=npcx7m6f +CHIP_VARIANT:=npcx7m7w board-y=board.o |