On Wed, Jan 04, 2017 at 11:46:46AM -0800, Maxim Sloyko wrote: > The driver is compatible with AST2400 and AST2500 watchdogs. > There is no uclass for Watchdog yet, so the driver does not follow > the driver model. It also uses fixed clock, so no clock driver > is needed. [snip] > +/* Number of available watchdog timers */ > +#ifdef CONFIG_ASPEED_AST2500 > +#define WDT_MAX_NUM 2 > +#else > +#define WDT_MAX_NUM 1 > +#endif
2400 has 1 WDT I assume. Move this to a Kconfig 'int' question and have the right number come that way. Thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot