From 76abf8f8cc3003fa3bb00d5c4902335a933707e8 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 1 Jun 2012 20:43:51 -0700 Subject: [PATCH] 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 Reviewed-on: https://gerrit.chromium.org/gerrit/24392 Reviewed-by: Randall Spangler --- chip/lm4/watchdog.c | 8 -------- 1 file changed, 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(); }