diff options
author | Simon Glass <sjg@chromium.org> | 2023-05-09 10:10:28 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-05-09 22:29:28 +0000 |
commit | ddbc094311765a55cf4cc52e0c7594e2a7f6891e (patch) | |
tree | 9aa2ad8ef7330bcc2504523708c6cde5f028f772 | |
parent | 1c5cf0545bafed8317025d903bccb8a4ac498bcf (diff) | |
download | chrome-ec-ddbc094311765a55cf4cc52e0c7594e2a7f6891e.tar.gz |
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 <sjg@chromium.org>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | board/damu/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |