[U-Boot] [PATCH] ls102xa: Fix reset hang

Fabio Estevam festevam at gmail.com
Fri Oct 2 17:00:49 CEST 2015


On Fri, Oct 2, 2015 at 11:42 AM, Wolfgang Denk <wd at denx.de> wrote:

> So this fixes the reset problem for now - but what happens when
> someone wants to use the watchdog for real?  Will we create a copy of
> drivers/watchdog/imx_watchdog.c  using big-endian accessors?  This
> cannot be right?

If someone wants to use the watchdog for real on LS102x then this is a
new feature that needs to be properly implemented.

In the kernel we have a common watchdog driver for i.MX, Vybrid and
LS, which uses regmap and take the endianness into consideration. We
should make drivers/watchdog/imx_watchdog.c endianness-aware so that
it can work for all these different SoCs. I was not suggesting to
create a new copy of drivers/watchdog/imx_watchdog.c.

Regards,

Fabio Estevam


More information about the U-Boot mailing list