Re: [U-Boot] [PATCH 1/1] mx51/mx53/mx6: add watchdog

2012-08-17 Thread Troy Kisky
On 8/17/2012 3:00 AM, Stefano Babic wrote: I have understood that the watchdog is common on all i.MX. At the moment, quite the same implementation is in mainline for i.MX31, you can find it under arch/arm/cpu/arm1136/mx31/timer.c. Then it is not a bad idea to have a watchdog driver in drivers/w

Re: [U-Boot] [PATCH 1/1] mx51/mx53/mx6: add watchdog

2012-08-17 Thread Stefano Babic
On 15/08/2012 22:46, Troy Kisky wrote: > Signed-off-by: Troy Kisky > --- > arch/arm/cpu/armv7/imx-common/Makefile |1 + > arch/arm/cpu/armv7/imx-common/watchdog.c | 32 > ++ > 2 files changed, 33 insertions(+) > create mode 100644 arch/arm/cpu/armv7/imx-commo

[U-Boot] [PATCH 1/1] mx51/mx53/mx6: add watchdog

2012-08-15 Thread Troy Kisky
Signed-off-by: Troy Kisky --- arch/arm/cpu/armv7/imx-common/Makefile |1 + arch/arm/cpu/armv7/imx-common/watchdog.c | 32 ++ 2 files changed, 33 insertions(+) create mode 100644 arch/arm/cpu/armv7/imx-common/watchdog.c diff --git a/arch/arm/cpu/armv7/imx-comm