summaryrefslogtreecommitdiff
path: root/board/waddledoo/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/waddledoo/board.h')
-rw-r--r--board/waddledoo/board.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/board/waddledoo/board.h b/board/waddledoo/board.h
index 727f1bdb33..23a89c84d6 100644
--- a/board/waddledoo/board.h
+++ b/board/waddledoo/board.h
@@ -18,10 +18,12 @@
#define CONFIG_SYSTEM_UNLOCKED
/* Save some flash space */
+#undef CONFIG_ACCEL_SPOOF_MODE
#define CONFIG_CHIP_INIT_ROM_REGION
#undef CONFIG_CONSOLE_CMDHELP
+#undef CONFIG_CONSOLE_HISTORY
#define CONFIG_DEBUG_ASSERT_BRIEF
-#define CONFIG_USB_PD_DEBUG_LEVEL 2
+#define CONFIG_USB_PD_DEBUG_LEVEL 0
/* EC console commands */
#define CONFIG_CMD_CHARGER_DUMP
@@ -41,6 +43,11 @@
#define CONFIG_OCPC_DEF_RBATT_MOHMS \
22 /* R_DS(on) 11.6mOhm + 10mOhm sns rstr \
*/
+/*
+ * b/147463641: The charger IC seems to overdraw ~4%, therefore we
+ * reduce our target accordingly.
+ */
+#define CONFIG_CHARGER_INPUT_CURRENT_DERATE_PCT 4
#define CONFIG_OCPC
#undef CONFIG_CHARGER_SINGLE_CHIP
#undef CONFIG_USB_PD_TCPC_LPM_EXIT_DEBOUNCE