summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2013-06-04 11:10:01 +0200
committerMarek Vasut <marex@denx.de>2013-06-30 18:41:07 +0200
commit7a3427854243f0e28c102926d203709b3e3cee62 (patch)
tree95d4ea216d5f4de1a30e698c540c3a5e16d61f7b /drivers
parentc5398cc968793cb73752d98e69f2e8d3cc9d9e59 (diff)
downloadu-boot-7a3427854243f0e28c102926d203709b3e3cee62.tar.gz
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.c2
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 15d2ec0078..c2400328a3 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;