summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2019-08-14 15:08:17 -0700
committerCommit Bot <commit-bot@chromium.org>2019-08-16 06:32:47 +0000
commitd731e31bce43a8616bff235626bc69f71712bc7a (patch)
treefbc2fdb50c63b1b15cf80e1cce7748b35d44d6f9
parent2a6b114c3aa1e24f2fc060bd36e1187faaae073a (diff)
downloadchrome-ec-d731e31bce43a8616bff235626bc69f71712bc7a.tar.gz
strago: Disable console commands to save space
Strago is running out of space for additional changes in the common code hence disabled CONFIG_CMD_ACCELSPOOF console command to save space. Before: section `.data' will not fit in region `FLASH' No room left in the flash region `FLASH' overflowed by 52 bytes After: 204 bytes in flash and 1836 bytes in RAM still available on strago RO 592 bytes in flash and 1836 bytes in RAM still available on strago RW BUG=none BRANCH=none TEST=make buildall -j Change-Id: I208f6929518136e462ba79b74ea147f11516d6f2 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1753693 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r--board/strago/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/strago/board.h b/board/strago/board.h
index 3ab98637c5..08244a2fca 100644
--- a/board/strago/board.h
+++ b/board/strago/board.h
@@ -88,6 +88,7 @@
#define CONFIG_ACCEL_KXCJ9
#undef CONFIG_CMD_ACCELS
#undef CONFIG_CMD_ACCEL_INFO
+#undef CONFIG_CMD_ACCELSPOOF
#define CONFIG_LID_ANGLE
#define CONFIG_LID_ANGLE_SENSOR_BASE BASE_ACCEL
#define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL