summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2023-04-13 11:29:17 -0500
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-04-13 22:50:00 +0000
commit5c73326454b38cc0149229919a36b7abd502b4a2 (patch)
treea573b583db4d012e2d214b02aaed3b3c46d3197e
parent20ee1fabc83507d6fb5786441b22b8c4a0bfdfb9 (diff)
downloadchrome-ec-5c73326454b38cc0149229919a36b7abd502b4a2.tar.gz
cr50: DBG: undef CONFIG_FLASH
Remove CONFIG_FLASH to save 1668 bytes in DBG images. BUG=none TEST=none Change-Id: Ic8bc18107571f1e5c0d8d381b624cde6f1e5f05d Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4424872 Reviewed-by: Andrey Pronin <apronin@chromium.org> Commit-Queue: Andrey Pronin <apronin@chromium.org>
-rw-r--r--board/cr50/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h
index 87ae4cd9a1..add2fb9e6a 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -139,6 +139,7 @@
#undef CONFIG_CONSOLE_HISTORY
#undef CONFIG_CMD_I2C_SCAN
#undef CONFIG_CMD_I2C_XFER
+#undef CONFIG_FLASH
/* Enable unsafe dev features for CCD in dev builds */
#define CONFIG_CASE_CLOSED_DEBUG_V1_UNSAFE
#define CONFIG_CMD_FLASH_LOG