diff options
author | CHLin <CHLIN56@nuvoton.com> | 2018-11-12 17:08:51 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-18 23:21:07 -0800 |
commit | b4ef387f133991454ec890342f8fc651dab3c80a (patch) | |
tree | d15ea672fac33077a5d1a91812f6349328d875bb /util | |
parent | 3d4652613c6d2beea8e0dd90f12612fad8eec4d8 (diff) | |
download | chrome-ec-b4ef387f133991454ec890342f8fc651dab3c80a.tar.gz |
util:ecst: add the CHIP_VARIANT npcx7m6fc support for NPCX7
This CL adds the support for chip variant npcx7m6fc in the ecst utility.
BRANCH:none
BUG=none
TEST=No build errors for make buildall.
TEST=Change CHIP_VARIANT to npcx7m6fc in board/npcx7_evb/build.mk;
"BOARD=npcx7_evb make"; Check ec image can be built and image header
is correct.
Change-Id: I138b19e21c361a42c2e613f6066957aabea17c0d
Signed-off-by: CHLin <CHLIN56@nuvoton.com>
Reviewed-on: https://chromium-review.googlesource.com/1335293
Commit-Ready: CH Lin <chlin56@nuvoton.com>
Tested-by: CH Lin <chlin56@nuvoton.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/ecst.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/ecst.c b/util/ecst.c index 73e6deb0e4..328587e8d9 100755 --- a/util/ecst.c +++ b/util/ecst.c @@ -45,7 +45,7 @@ struct chip_info chip_info[] = {{NPCX5M5G_RAM_ADDR, NPCX5M5G_RAM_SIZE}, /* Support chips name strings */ const char *supported_chips = "npcx5m5g, npcx5m6g, npcx7m5g, npcx7m6g, " - "npcx7m6f, npcx7m6fb or npcx7m7wb"; + "npcx7m6f, npcx7m6fb, npcx7m6fc, or npcx7m7wb"; static unsigned int calc_api_csum_bin(void); static unsigned int initialize_crc_32(void); @@ -262,6 +262,8 @@ int main(int argc, char *argv[]) (str_cmp_no_case(main_str_temp, "npcx7m6fb") == 0) || (str_cmp_no_case(main_str_temp, + "npcx7m6fc") == 0) || + (str_cmp_no_case(main_str_temp, "npcx7m6g") == 0)) { if ((bin_params.bin_params & BIN_FW_LOAD_START_ADDR) == |