summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-06-01 20:43:51 -0700
committerGerrit <chrome-bot@google.com>2012-06-05 09:30:21 -0700
commit76abf8f8cc3003fa3bb00d5c4902335a933707e8 (patch)
tree06327181daac964a3d8e99d2511f37dafe62b77c /chip
parent4568bc7dbdd51c062d8c3adfa38ff6f070f88a40 (diff)
downloadchrome-ec-76abf8f8cc3003fa3bb00d5c4902335a933707e8.tar.gz
lm4: Drop LED blinking from watchdog task
We don't really need this, and want to free up the LED for other debugging uses, so drop it. BUG=chrome-os-partner:10145 TEST=build and boot on snow (for want of a better test) Change-Id: I62aad38e9b29556dde0a3bf8e10a85df577a8e73 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/24392 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/lm4/watchdog.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/chip/lm4/watchdog.c b/chip/lm4/watchdog.c
index 7ef2b36b97..6591de64ac 100644
--- a/chip/lm4/watchdog.c
+++ b/chip/lm4/watchdog.c
@@ -170,14 +170,6 @@ int watchdog_init(void)
void watchdog_task(void)
{
while (1) {
-#ifdef BOARD_bds
- gpio_set_level(GPIO_DEBUG_LED, 1);
-#endif
- usleep(WATCHDOG_RELOAD_MS * 1000);
- watchdog_reload();
-#ifdef BOARD_bds
- gpio_set_level(GPIO_DEBUG_LED, 0);
-#endif
usleep(WATCHDOG_RELOAD_MS * 1000);
watchdog_reload();
}