diff options
author | Wai-Hong Tam <waihong@google.com> | 2018-05-15 13:48:13 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-22 15:54:06 -0700 |
commit | 8d07542bdf861f3fcaf12fcb159ef068cf4ed93b (patch) | |
tree | f2e5d8e5231a00a7ae2d6cfd3f12c6eb2bba1faa /board/cheza/board.h | |
parent | 60b3b245c1667a5ebc42a5d6fcaec8b28d5a5ef7 (diff) | |
download | chrome-ec-8d07542bdf861f3fcaf12fcb159ef068cf4ed93b.tar.gz |
cheza: Enable LED support
It is copied from the Lux board, as the rev-0 hardware uses the same
design as Lux. The LED doesn't work if AP is in G5, as the LED power
source PP5000 is disabled in G5. Will fix it later.
BRANCH=none
BUG=b:74395451
TEST=Tested several scenarios: charge, low-level battery, charge but
no battery.
Change-Id: I3803b917c6c4cba35176b75cb316b2c8ef9eb13a
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1060582
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board/cheza/board.h')
-rw-r--r-- | board/cheza/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/cheza/board.h b/board/cheza/board.h index f2d7b8fdd0..03e817d27e 100644 --- a/board/cheza/board.h +++ b/board/cheza/board.h @@ -25,6 +25,7 @@ /* EC Modules */ #define CONFIG_I2C #define CONFIG_I2C_MASTER +#define CONFIG_LED_COMMON #define CONFIG_ADC #undef CONFIG_PWM #undef CONFIG_PECI |