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:
philipchen
2016-10-26 15:39:25 -07:00
committed by chrome-bot
parent 52d80971c7
commit b6937caeeb

View File

@@ -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