[U-Boot] [PATCH] watchdog disable for socfpga

Marek Vasut
2014-09-12T06:17:04Z

On Friday, September 12, 2014 at 08:10:22 AM, Chin Liang See wrote:
> Hi Pavel,
>
> On Tue, 2014-09-09 at 14:03 +0200, ZY - pavel wrote:
> > This adds watchdog disable. It is neccessary for running Linux kernel.
> >
> > Signed-off-by: Pavel Machek <pavel@denx.de>
> >
> > diff --git a/arch/arm/cpu/armv7/socfpga/reset_manager.c
> > b/arch/arm/cpu/armv7/socfpga/reset_manager.c index e320c01..5503059
> > 100644
> > --- a/arch/arm/cpu/armv7/socfpga/reset_manager.c
> > +++ b/arch/arm/cpu/armv7/socfpga/reset_manager.c
> > @@ -14,6 +14,19 @@ DECLARE_GLOBAL_DATA_PTR;
> >
> > static const struct socfpga_reset_manager *reset_manager_base =
> >
> > (void *)SOCFPGA_RSTMGR_ADDRESS;
> >
> > +#define RSTMGR_PERMODRST_L4WD0_LSB 6
>
> Would suggest to put this into header file.
> Thanks

I agree. We're currently working on a proper cleanup, so please give us a few
days to prepare a series.

Best regards,
Marek Vasut