[PATCH 0/3] watchdog: imx2: handle WMCR only being available on i.MX35 and later
vz at mleia.com
Mon Jan 9 02:55:28 PST 2017
On 01/09/2017 11:50 AM, Uwe Kleine-König wrote:
> this is my approach to fix the issue reported by Vladimir Zapolskiy.
> IMHO we don't need the third commit because I'm convinced most machines
> just don't do anything when the WDOG signal becomes active. An affected
> machine powers off 16 seconds after startup. This would be noticed
> during development of the bootloader and so I assume all affected
> machines having bootloaders that make the compat code unimportant.
> If you want to know if your machine is affected, do:
> mw -w $(watchdog_base_addr) 0x10
is it a command in barebox shell?
> The machines I tested this on (among a few customer boards a
> Phycore i.MX35 and a Freescale i.MX53 Quick Start Board) don't power off.
> I don't have manuals handy for ls1021a, ls1043a and ls1046a but assume
> they use the i.MX35 type, too. This needs to be fixed before this series
> is applied.
> Compared to Vladimir's patch machines still using board files are fixed,
This addition can be done on top of my changes, in my version the driver
ignores WMCR on all machines with board files.
So now we have two competing series unfortunately...
With best wishes,
More information about the linux-arm-kernel