diff options
author | Ruibin Chang <ruibin.chang@ite.com.tw> | 2020-08-05 13:59:28 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-07 05:05:21 +0000 |
commit | 265cafd2bdd62c6b4c7900b4fc5024558637ed1e (patch) | |
tree | 1de92b0fb5d1fccccb03921fffe7e2dd7ed45caa /board/it8xxx2_pdevb/board.c | |
parent | c91b9e81055ede0c67f0126a104bbd9afa703c7c (diff) | |
download | chrome-ec-265cafd2bdd62c6b4c7900b4fc5024558637ed1e.tar.gz |
it8xxx2_pdevb ,reef_it8320: enable TCPMv2
Enable TCPMv2 on board it8xxx2_pdevb and reef_it8320.
BUG=none
BRANCH=none
TEST=TCPMv2 can run on board it8xxx2_pdevb and reef_it8320.
Signed-off-by: Ruibin Chang <ruibin.chang@ite.com.tw>
Change-Id: I8bdfc2f2b0642bb406f360c6d0a3b1f1c637b5ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2334433
Tested-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Commit-Queue: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/it8xxx2_pdevb/board.c')
-rw-r--r-- | board/it8xxx2_pdevb/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/it8xxx2_pdevb/board.c b/board/it8xxx2_pdevb/board.c index df242908b7..015a0e6d89 100644 --- a/board/it8xxx2_pdevb/board.c +++ b/board/it8xxx2_pdevb/board.c @@ -5,6 +5,7 @@ /* IT8xxx2 PD development board configuration */ #include "adc_chip.h" +#include "battery.h" #include "console.h" #include "it83xx_pd.h" #include "pwm.h" @@ -25,6 +26,12 @@ int board_get_battery_soc(void) return 100; } +enum battery_present battery_is_present(void) +{ + CPRINTS("%s", __func__); + return BP_NO; +} + const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = { [USB_PD_PORT_ITE_0] = { .bus_type = EC_BUS_TYPE_EMBEDDED, |