diff options
author | Zhuohao Lee <zhuohao@chromium.org> | 2020-12-02 10:45:48 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-11 16:53:05 +0000 |
commit | a835c075f978a9d0d2f6879eed928f5aa89dc45c (patch) | |
tree | c752d272d572e1646cd3c60771a4e191757461ca | |
parent | a8aed3f5cfcc023de5387f5c4b9e78413ea4ae71 (diff) | |
download | chrome-ec-stabilize-13505.85.B-master.tar.gz |
Delbin: Add delbin_npcx796fc to support npcx796fcstabilize-13505.85.B-masterstabilize-13505.111.B-masterstabilize-13505.100.B-masterrelease-R87-13505.B-master
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>
(cherry picked from commit 7e0d430378247d7960699d5c91dc47def536c2f6)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2585853
Commit-Queue: YH Lin <yueherngl@chromium.org>
Tested-by: YH Lin <yueherngl@chromium.org>
-rw-r--r-- | board/delbin/board.h | 8 | ||||
-rw-r--r-- | board/delbin/build.mk | 6 | ||||
l--------- | board/delbin_npcx796fc | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/board/delbin/board.h b/board/delbin/board.h index 7b94edf039..8ab9852779 100644 --- a/board/delbin/board.h +++ b/board/delbin/board.h @@ -11,6 +11,14 @@ /* 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 b78172d3cf..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 diff --git a/board/delbin_npcx796fc b/board/delbin_npcx796fc new file mode 120000 index 0000000000..64b6d51894 --- /dev/null +++ b/board/delbin_npcx796fc @@ -0,0 +1 @@ +delbin
\ No newline at end of file |