summaryrefslogtreecommitdiff
path: root/board/fizz
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2018-01-22 12:32:51 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-22 22:07:25 -0800
commita70227296b701212142ec93c4e03d3547ca8d390 (patch)
treefe1aa001e0a08acf7eee53c5b57da077e6814ea2 /board/fizz
parent632043a544130d3114715ab6454df18d320bccbe (diff)
downloadchrome-ec-a70227296b701212142ec93c4e03d3547ca8d390.tar.gz
Fizz: Remove board_has_working_reset_flags
This function is no longer used because proto0 boards have been deprecated. This function is called before I2C is initialized. This function tries to read board info and causes watchdog to trigger because timeout is set to zero. BUG=none BRANCH=none TEST=boot Fizz. reboot by 'reboot ap-off'. Observe no watchdog reset. Change-Id: I3bdebe4fb34dbef552fc89a170efa87d753078c0 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/879355 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/fizz')
-rw-r--r--board/fizz/board.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/board/fizz/board.c b/board/fizz/board.c
index 20aacd5650..6018daa1d7 100644
--- a/board/fizz/board.c
+++ b/board/fizz/board.c
@@ -518,18 +518,6 @@ int64_t get_time_dsw_pwrok(void)
return -20 * MSEC;
}
-int board_has_working_reset_flags(void)
-{
- int version = system_get_board_version();
-
- /* Board Rev0 will lose reset flags on power cycle. */
- if (version == 0)
- return 0;
-
- /* All other board versions should have working reset flags */
- return 1;
-}
-
const struct pwm_t pwm_channels[] = {
[PWM_CH_LED_RED] = { 3, PWM_CONFIG_DSLEEP, 100 },
[PWM_CH_LED_GREEN] = { 5, PWM_CONFIG_DSLEEP, 100 },