[U-Boot] [PATCH 02/12] aspeed: Add support for Watchdot Timer

Tom Rini trini at konsulko.com
Wed Jan 4 21:58:29 CET 2017

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.
> +/* 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170104/20fbdc04/attachment.sig>

More information about the U-Boot mailing list