summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2022-05-10 18:38:34 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-05-11 21:26:31 +0000
commitfbb71562403b1d377bae923d83ea098a725e065c (patch)
tree088c10f88e338967e7ec9284c9e3bb1533821781
parent2e90c747888af2e9b8a978f2cbc62b88bf6e222d (diff)
downloadchrome-ec-fbb71562403b1d377bae923d83ea098a725e065c.tar.gz
lazor: reduce flash usage
BRANCH=none BUG=none TEST=board build no longer fails due to flash space overflow Change-Id: I5582b2006c2ffe38d305a2c5438291bf1b21d11d Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3640437 Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--board/lazor/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/lazor/board.h b/board/lazor/board.h
index fdf82f4e1c..c2c2c9919e 100644
--- a/board/lazor/board.h
+++ b/board/lazor/board.h
@@ -82,6 +82,9 @@
#define GPIO_SWITCHCAP_PG_INT_L GPIO_DA9313_GPIO0
#define GPIO_SWITCHCAP_ON_L GPIO_SWITCHCAP_ON
+/* Disable console commands to help save space */
+#undef CONFIG_CMD_BATTFAKE
+
#ifndef __ASSEMBLER__
#include "gpio_signal.h"