From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 19 Feb 2017 21:24:05 -0500 Subject: [U-Boot] [PATCH 7/7] ti: wdt: Enable OMAP watchdog in u-boot's board_f.c In-Reply-To: <1487543082-24746-9-git-send-email-lukma@denx.de> References: <1487543082-24746-1-git-send-email-lukma@denx.de> <1487543082-24746-9-git-send-email-lukma@denx.de> Message-ID: <20170220022405.GD27120@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 Sun, Feb 19, 2017 at 11:24:42PM +0100, Lukasz Majewski wrote: > The init_func_watchdog_init called in u-boot's board_f.c's init_sequence > is responsible for enabling WDT in u-boot and notify user about it. > > Several other architectures have adopted it for this purpose. > This code does the same with OMAP watchdog. > > Signed-off-by: Lukasz Majewski > --- > common/board_f.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/common/board_f.c b/common/board_f.c > index ae6cd85..5dd56a4 100644 > --- a/common/board_f.c > +++ b/common/board_f.c > @@ -120,7 +120,7 @@ static int init_func_watchdog_init(void) > defined(CONFIG_M68K) || defined(CONFIG_MICROBLAZE) || \ > defined(CONFIG_SH) || defined(CONFIG_AT91SAM9_WATCHDOG) || \ > defined(CONFIG_DESIGNWARE_WATCHDOG) || \ > - defined(CONFIG_IMX_WATCHDOG)) > + defined(CONFIG_IMX_WATCHDOG) || defined(CONFIG_OMAP_WATCHDOG)) Please introduce a new symbol here with a reasonable name and select it on the various platforms, then make OMAP also select it. Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: