From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 4 Jan 2017 15:58:29 -0500 Subject: [U-Boot] [PATCH 02/12] aspeed: Add support for Watchdot Timer In-Reply-To: <20170104194656.124368-3-maxims@google.com> References: <20170104194656.124368-1-maxims@google.com> <20170104194656.124368-3-maxims@google.com> Message-ID: <20170104205829.GW24312@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: