diff options
author | Ben Chen <ben.chen2@quanta.corp-partner.google.com> | 2020-11-23 19:15:35 +0800 |
---|---|---|
committer | Justin TerAvest <teravest@chromium.org> | 2020-11-25 21:00:18 +0000 |
commit | 20f7ec106e4e5c410d930931b4ed2b2dba1a94cd (patch) | |
tree | 25500c27b7e84ce83e16ebef74fa26ebf0add40e /board/magolor/board.h | |
parent | b67a2783ff93fd66980eb3b7d26d80ff38c3328e (diff) | |
download | chrome-ec-20f7ec106e4e5c410d930931b4ed2b2dba1a94cd.tar.gz |
magolor: support npcx797fc build target
Build target to test Magolro boards reworked
with the NPCX797FC EC.
BUG=b:168608382
BRANCH=none
TEST=make buildall, workable on the re-worked Board.
Change-Id: I74f3da25f5f968bad715d773b034f025e01e90d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2554657
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: Henry Sun <henrysun@google.com>
Commit-Queue: Justin TerAvest <teravest@chromium.org>
Tested-by: Justin TerAvest <teravest@chromium.org>
Diffstat (limited to 'board/magolor/board.h')
-rw-r--r-- | board/magolor/board.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/magolor/board.h b/board/magolor/board.h index 3cdf433772..8865863dc4 100644 --- a/board/magolor/board.h +++ b/board/magolor/board.h @@ -12,8 +12,17 @@ #include "baseboard.h" #define CONFIG_USB_PD_DEBUG_LEVEL 2 + +#ifdef BOARD_MAGOLOR_LEGACY /* this change saves 1656 bytes of RW flash space */ #define CONFIG_CHIP_INIT_ROM_REGION +#else +/* + * The RAM and flash size combination on the the NPCX797FC does not leave + * any unused flash space that can be used to store the .init_rom section. + */ +#undef CONFIG_CHIP_INIT_ROM_REGION +#endif /* * Keep the system unlocked in early development. |