diff options
author | Diana Z <dzigterman@chromium.org> | 2023-03-31 09:28:08 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-03-31 17:50:07 +0000 |
commit | d32a3897184e7507a310b0d4a351d9dbd8f3bc0b (patch) | |
tree | b512be5a037fa67e6cc083bc4e29a0afd08b8369 /board/hades/board.h | |
parent | d804f8408c628055d611b06a35fb533879afd969 (diff) | |
download | chrome-ec-d32a3897184e7507a310b0d4a351d9dbd8f3bc0b.tar.gz |
Charger: CONFIG gate bypass mode
Only two boards need the charger bypass mode feature, and it takes a
fair amount of code space in flash (1.2k). Make this code logic opt-in
to enable the bypass mode and enable the two boards which do use it.
BRANCH=None
BUG=b:273722902
TEST=util/compare_build.sh -b hades and util/compare_build.sh -b agah
passes, other boards build and consume less flash space
Change-Id: I90d781340389eb2f259d13b69eb2882b16bf0c4d
Signed-off-by: Diana Z <dzigterman@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4388379
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/hades/board.h')
-rw-r--r-- | board/hades/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/hades/board.h b/board/hades/board.h index 833529e03e..612507fb74 100644 --- a/board/hades/board.h +++ b/board/hades/board.h @@ -135,6 +135,7 @@ #define CONFIG_FANS FAN_CH_COUNT /* Charger defines */ +#define CONFIG_CHARGER_BYPASS_MODE #define CONFIG_CHARGER_ISL9241 #define CONFIG_CHARGER_SENSE_RESISTOR 10 #define CONFIG_CHARGER_SENSE_RESISTOR_AC 10 |