diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2019-04-03 16:12:04 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-10 18:06:40 -0700 |
commit | 5e3be08cbe95cb33efaf01c006532d643a573720 (patch) | |
tree | 87e4d53ff2f03ff9af58fa1c7ff953b07ef7ea9b /board/flapjack/board.h | |
parent | 7dedbd0990accd2f8a127501697d55d52dc80658 (diff) | |
download | chrome-ec-5e3be08cbe95cb33efaf01c006532d643a573720.tar.gz |
Flapjack: Remove console commands from RO
This patch removes console commands from RO which are not used by FAFT.
Before:
122824 Apr 5 14:27 build/flapjack/RO/ec.RO.flat
108260 Apr 5 14:28 build/flapjack/RW/ec.RW.flat
After:
120712 Apr 5 14:27 build/flapjack/RO/ec.RO.flat
108260 Apr 5 14:27 build/flapjack/RW/ec.RW.flat
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
BUG=b/129746223,b/127720872
BRANCH=none
TEST=buildall
Change-Id: I4534fed108845fe562255179ac90b5bee8ce5bbc
Reviewed-on: https://chromium-review.googlesource.com/1551583
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/flapjack/board.h')
-rw-r--r-- | board/flapjack/board.h | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/board/flapjack/board.h b/board/flapjack/board.h index d916f5c438..e25cbc3df6 100644 --- a/board/flapjack/board.h +++ b/board/flapjack/board.h @@ -168,11 +168,6 @@ #undef CONFIG_CMD_FASTCHARGE #undef CONFIG_CMD_FLASH #undef CONFIG_CMD_GETTIME -#ifdef SECTION_IS_RO -#undef CONFIG_CMD_ADC -#undef CONFIG_CMD_I2C_XFER -#undef CONFIG_CMD_IDLE_STATS -#endif #undef CONFIG_CMD_HASH #undef CONFIG_CMD_HCDEBUG #undef CONFIG_CMD_MD @@ -180,6 +175,25 @@ #undef CONFIG_CMD_POWERINDEBUG #undef CONFIG_CMD_TIMERINFO +#ifdef SECTION_IS_RO +#undef CONFIG_CMD_ADC +#undef CONFIG_CMD_APTHROTTLE +#undef CONFIG_CMD_CBI +#undef CONFIG_CMD_I2C_SCAN +#undef CONFIG_CMD_I2C_XFER +#undef CONFIG_CMD_IDLE_STATS +#undef CONFIG_CMD_INA +#undef CONFIG_CMD_MMAPINFO +#undef CONFIG_CMD_PWR_AVG +#undef CONFIG_CMD_REGULATOR +#undef CONFIG_CMD_RW +#undef CONFIG_CMD_SHMEM +/* TODO: Consider put these back when FSI is (about to be) done. */ +#undef CONFIG_CMD_SLEEPMASK +#undef CONFIG_CMD_SLEEPMASK_SET +#undef CONFIG_CMD_SYSLOCK +#endif + #define CONFIG_TASK_PROFILING /* I2C ports */ |