From f89340eed3f35f9de9b6aaca83d5628893b95562 Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Tue, 17 Aug 2021 13:45:05 -0700 Subject: bugzzy: Update EC variant Per the schematics, bugzzy is actually using the NPCX797FC and not the NPCX796FC. This variant has more SRAM and will provide some more space to be used for the image. BUG=b:192521391,b:194554146 BRANCH=dedede TEST=`make -j BOARD=bugzzy` and verify that it compiles and is not out of space. Signed-off-by: Aseda Aboagye Change-Id: I8c0c8510d614cbaf07e53632676036bdb9284a79 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3101348 Tested-by: Aseda Aboagye Auto-Submit: Aseda Aboagye Reviewed-by: Paul Fagerburg Commit-Queue: Paul Fagerburg --- board/bugzzy/board.h | 7 ++++++- board/bugzzy/build.mk | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/board/bugzzy/board.h b/board/bugzzy/board.h index 722273c779..e8ea895ed2 100644 --- a/board/bugzzy/board.h +++ b/board/bugzzy/board.h @@ -17,8 +17,13 @@ */ #define CONFIG_SYSTEM_UNLOCKED +/* + * 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 + /* Save some flash space */ -#define CONFIG_CHIP_INIT_ROM_REGION #define CONFIG_DEBUG_ASSERT_BRIEF /* EC console commands */ diff --git a/board/bugzzy/build.mk b/board/bugzzy/build.mk index af526189dd..815a285d83 100644 --- a/board/bugzzy/build.mk +++ b/board/bugzzy/build.mk @@ -8,7 +8,7 @@ CHIP:=npcx CHIP_FAMILY:=npcx7 -CHIP_VARIANT:=npcx7m6fc +CHIP_VARIANT:=npcx7m7fc BASEBOARD:=dedede board-y=board.o battery.o cbi_ssfc.o led.o usb_pd_policy.o -- cgit v1.2.1