From ddbc094311765a55cf4cc52e0c7594e2a7f6891e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 9 May 2023 10:10:28 -0600 Subject: damu: Disable CONFIG_CHARGE_STATE_DEBUG Disable this to free up some flash space so I can continue refactoring. Space with clang increases to 204 bytes, more than enough for an SMS message. BUG=b:218332694 TEST= CC=clang make BOARD=damu -j50 See that it has more space *** 204 bytes in flash and 10908 bytes in RAM still available on damu RO **** Change-Id: I46b2a3fc85cf0f29d5fc4c986816fae760b9fd43 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4518025 Commit-Queue: Simon Glass Reviewed-by: Jeremy Bettis Tested-by: Simon Glass --- board/damu/board.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/damu/board.h b/board/damu/board.h index 857f5d2390..64aa8404ec 100644 --- a/board/damu/board.h +++ b/board/damu/board.h @@ -8,6 +8,9 @@ #ifndef __CROS_EC_BOARD_H #define __CROS_EC_BOARD_H +/* Save some flash space */ +#undef CONFIG_CHARGE_DEBUG + #define VARIANT_KUKUI_JACUZZI #define VARIANT_KUKUI_BATTERY_SMART #define VARIANT_KUKUI_CHARGER_ISL9238 -- cgit v1.2.1