summaryrefslogtreecommitdiff
path: root/board/fizz
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2019-09-19 15:26:16 -0600
committerCommit Bot <commit-bot@chromium.org>2019-09-29 17:06:12 +0000
commitc967310d1ec9fdda6b36bd7dfcfa735286fec3c5 (patch)
treee982ae70e4b577fd74ea5ebfff7a59118e33184e /board/fizz
parent946331e651bf333b209c2f3124e3b35b33b11efe (diff)
downloadchrome-ec-c967310d1ec9fdda6b36bd7dfcfa735286fec3c5.tar.gz
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 <keithshort@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1816869 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/fizz')
-rw-r--r--board/fizz/board.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/board/fizz/board.c b/board/fizz/board.c
index dbb898c69b..6d3d3378d2 100644
--- a/board/fizz/board.c
+++ b/board/fizz/board.c
@@ -823,11 +823,3 @@ int fan_percent_to_rpm(int fan, int pct)
return fan_table[current_level].rpm;
}
-
-void board_rtc_reset(void)
-{
- CPRINTS("Asserting RTCRST# to PCH");
- gpio_set_level(GPIO_PCH_RTCRST, 1);
- udelay(100);
- gpio_set_level(GPIO_PCH_RTCRST, 0);
-}