mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 01:21:49 +00:00
gru/kevin: turn on flags to save code size
Turn on CONFIG_HOSTCMD_ALIGNED and CONFIG_COMMON_GPIO_SHORTNAMES to squeeze more space for the upcoming sensor code. BUG=chrome-os-partner:59084 BRANCH=gru, kevin TEST=Check the map to confirm the size reduction Change-Id: I7a9ca8fccf6d57a797c391dc76cacb0b929e14df Reviewed-on: https://chromium-review.googlesource.com/403485 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
This commit is contained in:
@@ -163,6 +163,14 @@
|
||||
#undef CONFIG_PECI
|
||||
#undef CONFIG_PSTORE
|
||||
|
||||
/* Reduce code size */
|
||||
#ifdef BOARD_GRU
|
||||
#define CONFIG_COMMON_GPIO_SHORTNAMES
|
||||
#define GPIO_NAME_BY_PIN(port, index) #port#index
|
||||
#endif
|
||||
|
||||
#define CONFIG_HOSTCMD_ALIGNED
|
||||
|
||||
/* Modules we want to exclude */
|
||||
#undef CONFIG_CMD_ACCEL_INFO
|
||||
#undef CONFIG_CMD_FLASH
|
||||
|
||||
Reference in New Issue
Block a user