summaryrefslogtreecommitdiff
path: root/board/kohaku/board.h
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2019-04-18 15:19:28 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-04-20 03:58:33 -0700
commitafbb1b511cdf5ab36ce2f6969ac701322fe91517 (patch)
tree6c3c7cc11abf6606634a09cf80ce310cc8c25891 /board/kohaku/board.h
parente25a0bc9539161c0222166b2d63057a4ecca4f7a (diff)
downloadchrome-ec-afbb1b511cdf5ab36ce2f6969ac701322fe91517.tar.gz
hatch/kohaku: Account for different bc1.2 chips
This CL moves bc1.2 configuration from baseboard.c/.h to the board.c/.h files for hatch and kohaku. BUG=b:130197995 BRANCH=none TEST=make -j BOARD=hatch and make -j BOARD=kohaku both are successful Change-Id: I2aa44d37a7a1d23196a766c95c59737838e9e09f Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/1574788 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'board/kohaku/board.h')
-rw-r--r--board/kohaku/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/kohaku/board.h b/board/kohaku/board.h
index 9a1d7a17cc..ba04cdbb0f 100644
--- a/board/kohaku/board.h
+++ b/board/kohaku/board.h
@@ -56,6 +56,9 @@
#define BOARD_TCPC_C1_RESET_HOLD_DELAY PS8XXX_RESET_DELAY_MS
#define BOARD_TCPC_C1_RESET_POST_DELAY 0
+/* BC 1.2 */
+#define CONFIG_BC12_DETECT_MAX14637
+
/* Volume Button feature */
#define CONFIG_VOLUME_BUTTONS
#define GPIO_VOLUME_UP_L GPIO_EC_VOLUP_BTN_ODL