diff options
author | Ting Shen <phoenixshen@google.com> | 2019-04-11 18:18:02 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-17 21:32:37 -0700 |
commit | e16da08f09cc108bf23c88a23f28382e2455f5e8 (patch) | |
tree | adcbadedad270b3592ced5ae4cca350b59db97d9 /board | |
parent | a19ad262f2df67cf36d6051d1f309a9f50c2b7f3 (diff) | |
download | chrome-ec-e16da08f09cc108bf23c88a23f28382e2455f5e8.tar.gz |
kukui: remove flashpd/rwhashpd host command from RO
Kukui is running out of RO space. In order to save more space, we found
that these two functions takes ~500 bytes, so it's especially worth
removing.
RO size before and after:
122056 Apr 11 17:01 build/kukui/RO/ec.RO.flat
121544 Apr 11 18:14 build/kukui/RO/ec.RO.flat
BUG=b:120588396
TEST=make buildall -j
BRANCH=None
Change-Id: I2e08d45093d5ef88516950e8289e559d4421d126
Signed-off-by: Ting Shen <phoenixshen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1564490
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/kukui/board.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/kukui/board.h b/board/kukui/board.h index 40d1fc3930..e2cb3b68d1 100644 --- a/board/kukui/board.h +++ b/board/kukui/board.h @@ -174,6 +174,11 @@ #undef CONFIG_CMD_POWERINDEBUG #undef CONFIG_CMD_TIMERINFO +#ifdef SECTION_IS_RO +#undef CONFIG_HOSTCMD_FLASHPD +#undef CONFIG_HOSTCMD_RWHASHPD +#endif + #define CONFIG_TASK_PROFILING /* I2C ports */ |