[U-Boot] [PATCH 02/12] aspeed: Add support for Watchdot Timer
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
> +#define WDT_MAX_NUM 1
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...
Size: 819 bytes
Desc: Digital signature
More information about the U-Boot