summaryrefslogtreecommitdiff
path: root/board/casta/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/casta/board.c')
-rw-r--r--board/casta/board.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/board/casta/board.c b/board/casta/board.c
index 8172427d05..71311e5ce2 100644
--- a/board/casta/board.c
+++ b/board/casta/board.c
@@ -131,17 +131,6 @@ void i2c_end_xfer_notify(int port, int slave_addr)
battery_last_i2c_time = get_time();
}
-/* TODO: Casta: remove this routine after rev0 is not supported */
-static void board_init(void)
-{
- uint32_t val;
- if (cbi_get_board_version(&val) == EC_SUCCESS && val > 0)
- return;
-
- gpio_set_flags(GPIO_USB_C0_MUX_INT_ODL, GPIO_INT_FALLING | GPIO_PULL_UP);
-}
-DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);
-
void board_overcurrent_event(int port, int is_overcurrented)
{
/* Sanity check the port. */