summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2021-08-17 13:45:05 -0700
committerCommit Bot <commit-bot@chromium.org>2021-08-17 22:00:16 +0000
commitf89340eed3f35f9de9b6aaca83d5628893b95562 (patch)
treeafd828d2e9f8048008e8cff47d77a55930236945
parent6c744430d9d4217958baec91c368b1c577ec9a9e (diff)
downloadchrome-ec-f89340eed3f35f9de9b6aaca83d5628893b95562.tar.gz
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 <aaboagye@google.com> Change-Id: I8c0c8510d614cbaf07e53632676036bdb9284a79 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3101348 Tested-by: Aseda Aboagye <aaboagye@chromium.org> Auto-Submit: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Commit-Queue: Paul Fagerburg <pfagerburg@chromium.org>
-rw-r--r--board/bugzzy/board.h7
-rw-r--r--board/bugzzy/build.mk2
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