From c967310d1ec9fdda6b36bd7dfcfa735286fec3c5 Mon Sep 17 00:00:00 2001 From: Keith Short Date: Thu, 19 Sep 2019 15:26:16 -0600 Subject: volteer: Add RTC reset Add support for the RTC reset on Volteer. This change also deduplicates the board_rtc_reset() function which was identical on boards that enabled CONFIG_BOARD_HAS_RTC_RESET. BUG=b:141321096 BRANCH=none TEST=make buildall Change-Id: Ifc6959f8271400174fd4999a3c70800b03b9c2d0 Signed-off-by: Keith Short Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1816869 Reviewed-by: Daisuke Nojiri --- board/nocturne/board.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'board/nocturne/board.c') diff --git a/board/nocturne/board.c b/board/nocturne/board.c index 16a30571d4..eac0b14b27 100644 --- a/board/nocturne/board.c +++ b/board/nocturne/board.c @@ -685,14 +685,6 @@ void board_set_tcpc_power_mode(int port, int mode) board_reset_pd_mcu(); } -void board_rtc_reset(void) -{ - cprints(CC_SYSTEM, "Asserting RTCRST# to PCH"); - gpio_set_level(GPIO_EC_PCH_RTCRST, 1); - udelay(100); - gpio_set_level(GPIO_EC_PCH_RTCRST, 0); -} - int board_set_active_charge_port(int port) { int is_real_port = (port >= 0 && -- cgit v1.2.1