From a6c9ea5050f6f3b1414c38e1d55e7decef5f9121 Mon Sep 17 00:00:00 2001 From: Boris Mittelberg Date: Tue, 3 Aug 2021 10:16:38 -0700 Subject: waddledoo: disable console commands to save space Disabling accelspoof and battfake EC console commands BRANCH=main,dedede BUG=none TEST=make -j BOARD=waddledoo Signed-off-by: Boris Mittelberg Change-Id: Ib4f93185e6f4b63099ea7d600037b03fc306a56d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3078052 Reviewed-by: Aseda Aboagye --- board/waddledoo/board.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/board/waddledoo/board.h b/board/waddledoo/board.h index 0520551a33..bf253e65d4 100644 --- a/board/waddledoo/board.h +++ b/board/waddledoo/board.h @@ -26,6 +26,10 @@ /* EC console commands */ #define CONFIG_CMD_CHARGER_DUMP +/* Remove default commands to free flash space */ +#undef CONFIG_CMD_ACCELSPOOF +#undef CONFIG_CMD_BATTFAKE + /* Battery */ #define CONFIG_BATTERY_FUEL_GAUGE -- cgit v1.2.1