summaryrefslogtreecommitdiff
path: root/board/magolor/board.h
diff options
context:
space:
mode:
authorBen Chen <ben.chen2@quanta.corp-partner.google.com>2020-09-25 11:06:39 +0800
committerCommit Bot <commit-bot@chromium.org>2020-09-25 18:33:53 +0000
commit6b9218bc0a595e3329aa9a805065ce53592e23b3 (patch)
tree86666db7134c672809ecf1892057eb89297324b1 /board/magolor/board.h
parent1639bd944d3a70479f18edcd0ee47fc6026f8127 (diff)
downloadchrome-ec-6b9218bc0a595e3329aa9a805065ce53592e23b3.tar.gz
magolor: enable config CONFIG_CHIP_INIT_ROM_REGION
Enable a config option CONFIG_CHIP_INIT_ROM_REGION to free flash space. BUG=b:168608382 BRANCH=master TEST=make buildall pass Change-Id: I5d356a2d7594bc00bd4ebbe0e6ffddbb9df1a30e Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2428351 Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Henry Sun <henrysun@google.com> Tested-by: Henry Sun <henrysun@google.com>
Diffstat (limited to 'board/magolor/board.h')
-rw-r--r--board/magolor/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/magolor/board.h b/board/magolor/board.h
index 06b15529ce..102b9b37a5 100644
--- a/board/magolor/board.h
+++ b/board/magolor/board.h
@@ -11,6 +11,9 @@
#define VARIANT_DEDEDE_EC_NPCX796FC
#include "baseboard.h"
+/* this change saves 1656 bytes of RW flash space */
+#define CONFIG_CHIP_INIT_ROM_REGION
+
/*
* Keep the system unlocked in early development.
* TODO(b/151264302): Make sure to remove this before production!