public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 4/4] udoo: fix watchdog setting
@ 2013-11-06 20:44 Giuseppe Pagano
  2013-11-07  8:19 ` Stefano Babic
  0 siblings, 1 reply; 3+ messages in thread
From: Giuseppe Pagano @ 2013-11-06 20:44 UTC (permalink / raw)
  To: u-boot

To have watchdog quiet during kernel boot it is necessary to
change gpio wdt trigger direction.


Signed-off-by: Giuseppe Pagano <giuseppe.pagano@seco.com>
Cc: sbabic at denx.de

---

diff -uNr a/board/udoo/udoo.c b/board/udoo/udoo.c
--- a/board/udoo/udoo.c	2013-11-06 18:47:26.000000000 +0100
+++ b/board/udoo/udoo.c	2013-11-06 18:54:46.000000000 +0100
@@ -168,6 +168,7 @@
        imx_iomux_v3_setup_multiple_pads(wdog_pads,
ARRAY_SIZE(wdog_pads));
        gpio_direction_output(WDT_TRG, 0);
        gpio_direction_output(WDT_EN, 1);
+	gpio_direction_input(WDT_TRG);
 }
 
 static struct fsl_esdhc_cfg usdhc_cfg = { USDHC3_BASE_ADDR };

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-07 11:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-06 20:44 [U-Boot] [PATCH 4/4] udoo: fix watchdog setting Giuseppe Pagano
2013-11-07  8:19 ` Stefano Babic
2013-11-07 11:49   ` Giuseppe Pagano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox