summaryrefslogtreecommitdiff
path: root/board/npcx7_evb/build.mk
diff options
context:
space:
mode:
authorCHLin <CHLIN56@nuvoton.com>2018-11-28 11:26:01 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-12-04 00:11:41 -0800
commitaabbef1336b6707909e14662b56a9741e75a1619 (patch)
treee687f03e1517b3d61ba6d0762b89acf0a78103c7 /board/npcx7_evb/build.mk
parent86fc3cec8ad36cee316efbf5226fd5d5f009364a (diff)
downloadchrome-ec-aabbef1336b6707909e14662b56a9741e75a1619.tar.gz
npcx7_evb: illustrate the flash configuration of npcx7m6fc
There are only 512 Kbytes of internal flash in npcx7m6fc, which is different from previous npcx7 chips with internal flash. This CL illustrates how to set the flash type and flash size when chip variant is npcx7m6fc. This CL also sets the BOARD_VERSION number according to the chip variant. Manually changing the BORAD_VERSION number is no longer need when we want to build the npcx7_evb board image of different chip variants. BRANCH=none BUG=none TEST=No build errors for make buildall. TEST=Switch to different chip variant in build.mk; build and flash the image; make sure each EC image can boot up on EVB of different chip variant. Change-Id: I430a39fae8c9516c0f22b0fe9868403a60b80d4a Signed-off-by: CHLin <CHLIN56@nuvoton.com> Reviewed-on: https://chromium-review.googlesource.com/1351918 Commit-Ready: CH Lin <chlin56@nuvoton.com> Tested-by: CH Lin <chlin56@nuvoton.com> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/npcx7_evb/build.mk')
-rw-r--r--board/npcx7_evb/build.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/npcx7_evb/build.mk b/board/npcx7_evb/build.mk
index 84c7c83dd0..a2831c0d10 100644
--- a/board/npcx7_evb/build.mk
+++ b/board/npcx7_evb/build.mk
@@ -6,11 +6,13 @@
# Board specific files build
#
-# the IC is Nuvoton NPCX7 M-Series EC (npcx7m6g, npcx7m6f, npcx7m6fb, npcx7m7wb)
+# the IC is Nuvoton NPCX7 M-Series EC (npcx7m6g, npcx7m6f, npcx7m6fb, npcx7m6fc,
+# npcx7m7wb)
# CHIP_VARIANT:
# npcx7m6g - for npcx7 ec without internal flash
# npcx7m6f - for npcx7 ec with internal flash
# npcx7m6fb - for npcx7 ec with internal flash, enhanced features.
+# npcx7m6fc - the same as npcx7m6fb but internal flash size is 512 Kbytes.
# npcx7m7wb - for npcx7 ec with internal flash, enhanced features + WOV.
CHIP:=npcx