summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2020-11-18 10:20:55 -0700
committerCommit Bot <commit-bot@chromium.org>2021-10-21 02:53:03 +0000
commit88b320028e803e60c97435b0f9b2de6d42a126af (patch)
treef750d94e331875c5e4f7254c3342050805abc45b
parent456ac6991337b78704c67d3727530161c20278c6 (diff)
downloadchrome-ec-88b320028e803e60c97435b0f9b2de6d42a126af.tar.gz
kukui: Disable uptime host command in RO
Save 512 bytes in RO flash space on Kukui platforms by disabling the uptime host command and disabling the AP reset log. BUG=none BRANCH=none TEST=make buildall Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: Ib967f0c07802ec6c08c611d0f26850072722d7dd Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2546989 Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@chromium.org> (cherry picked from commit 6539c0e6a3c110ef9313a656a01af903f73628b2) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2562630 Reviewed-by: Chen-Tsung Hsieh <chentsung@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@google.com> Commit-Queue: Devin Lu <Devin.Lu@quantatw.com> Tested-by: Devin Lu <Devin.Lu@quantatw.com>
-rw-r--r--baseboard/kukui/baseboard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/baseboard/kukui/baseboard.h b/baseboard/kukui/baseboard.h
index 3288b9f7d7..12b3badfbc 100644
--- a/baseboard/kukui/baseboard.h
+++ b/baseboard/kukui/baseboard.h
@@ -283,6 +283,9 @@
#undef CONFIG_HOSTCMD_FLASHPD
#undef CONFIG_HOSTCMD_RWHASHPD
#undef CONFIG_CONSOLE_CMDHELP
+
+#undef CONFIG_HOSTCMD_GET_UPTIME_INFO
+#undef CONFIG_CMD_AP_RESET_LOG
#endif
#define CONFIG_TASK_PROFILING