diff options
author | Zhuohao Lee <zhuohao@chromium.org> | 2020-12-02 10:45:48 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-02 18:16:46 +0000 |
commit | 7e0d430378247d7960699d5c91dc47def536c2f6 (patch) | |
tree | 99a43823e5ac7d801c0d496ef89f38db2009dc2a /board/delbin | |
parent | 3ea83c73f631a8b909bfc7e047b59bbf04afed3c (diff) | |
download | chrome-ec-7e0d430378247d7960699d5c91dc47def536c2f6.tar.gz |
Delbin: Add delbin_npcx796fc to support npcx796fc
BUG=b:174106425
BRANCH=firmware-volteer-13521.B
TEST=make BOARD=delbin
make BOARD=delbin_npcx796fc
Change-Id: I516994793db07f544ac64065aa05e7adacf6a39d
Signed-off-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2567067
Reviewed-by: YH Lin <yueherngl@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/delbin')
-rw-r--r-- | board/delbin/board.h | 2 | ||||
-rw-r--r-- | board/delbin/build.mk | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/board/delbin/board.h b/board/delbin/board.h index df499eeffc..fbeac48f62 100644 --- a/board/delbin/board.h +++ b/board/delbin/board.h @@ -11,11 +11,13 @@ /* Baseboard features */ #include "baseboard.h" +#ifndef BOARD_DELBIN_NPCX796FC /* * The RAM and flash size combination on the NPCX797FC dose not leave * any unused flash space that can be used to store the .init_rom section. */ #undef CONFIG_CHIP_INIT_ROM_REGION +#endif #undef NPCX_PWM1_SEL #define NPCX_PWM1_SEL 0 /* GPIO C2 is not used as PWM1. */ diff --git a/board/delbin/build.mk b/board/delbin/build.mk index 838d6a16ce..65deb98a8a 100644 --- a/board/delbin/build.mk +++ b/board/delbin/build.mk @@ -8,7 +8,13 @@ CHIP:=npcx CHIP_FAMILY:=npcx7 + +# Old Delbin boards are using with NPCX796FC variant. +ifeq ($(BOARD),delbin_npcx796fc) +CHIP_VARIANT:=npcx7m6fc +else CHIP_VARIANT:=npcx7m7fc +endif BASEBOARD:=volteer board-y=board.o |