summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2020-10-02 10:55:42 -0600
committerCommit Bot <commit-bot@chromium.org>2020-10-05 18:11:24 +0000
commitf2dbe82834c9bb43e0bd929dea675aa30eab4daf (patch)
tree36ae1842bdc21b7cdf69604bd2aa827eac60904b
parent60ea87ad25e3a64a3f53de566924492148fb0ce2 (diff)
downloadchrome-ec-f2dbe82834c9bb43e0bd929dea675aa30eab4daf.tar.gz
Magolor: Undefine TCPC and charger EC commands
Magolor is down to less than 500 bytes of free flash on ToT. Remove a couple of EC commands to free up enough space to build a while longer. BRANCH=None BUG=b:168608382 TEST=magolor builds with 2400 bytes of free flash Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Id29beb71fcd9c97f6f099f9d3fe91cbaeaa83d22 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2446629 Reviewed-by: Justin TerAvest <teravest@chromium.org>
-rw-r--r--board/magolor/board.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/board/magolor/board.h b/board/magolor/board.h
index f875e172ac..fb51ea08a3 100644
--- a/board/magolor/board.h
+++ b/board/magolor/board.h
@@ -31,10 +31,7 @@
#define CONFIG_OCPC_DEF_RBATT_MOHMS 22 /* R_DS(on) 11.6mOhm + 10mOhm sns rstr */
#define CONFIG_OCPC
#undef CONFIG_CHARGER_SINGLE_CHIP
-
-/* EC console commands */
-#define CONFIG_CMD_TCPC_DUMP
-#define CONFIG_CMD_CHARGER_DUMP
+#undef CONFIG_CMD_CHARGER_DUMP
/* GPIO for C1 interrupts, for baseboard use */
#define GPIO_USB_C1_INT_ODL GPIO_SUB_USB_C1_INT_ODL