diff options
author | Heiko Schocher <hs@denx.de> | 2013-06-04 09:10:01 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-06-30 16:41:07 (GMT) |
commit | 7a3427854243f0e28c102926d203709b3e3cee62 (patch) | |
tree | 95d4ea216d5f4de1a30e698c540c3a5e16d61f7b /drivers | |
parent | c5398cc968793cb73752d98e69f2e8d3cc9d9e59 (diff) | |
download | u-boot-7a3427854243f0e28c102926d203709b3e3cee62.tar.xz |
usb, musb-new: add wdt trigger
Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Ilya Yanok <ilya.yanok@cogentembedded.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/musb-new/musb_uboot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/musb-new/musb_uboot.c b/drivers/usb/musb-new/musb_uboot.c index 15d2ec0..c240032 100644 --- a/drivers/usb/musb-new/musb_uboot.c +++ b/drivers/usb/musb-new/musb_uboot.c @@ -1,4 +1,5 @@ #include <common.h> +#include <watchdog.h> #include <asm/errno.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> @@ -164,6 +165,7 @@ static struct musb *gadget; int usb_gadget_handle_interrupts(void) { + WATCHDOG_RESET(); if (!gadget || !gadget->isr) return -EINVAL; |