From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 28 Feb 2020 13:37:48 -0500 Subject: [PATCH] watchdog: mpc8xx: Revert the 8xx watchdog back to CONFIG_HW_WATCHDOG In-Reply-To: References: Message-ID: <20200228183748.GL18302@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 Thu, Feb 20, 2020 at 07:39:51AM +0000, Christophe Leroy wrote: > Commit f3729ba6e7b2 ("watchdog: mpc8xx_wdt: Watchdog driver and macros > cleanup") switched the watchdog to CONFIG_WATCHDOG. But this is not > compatible with the 8xx because it starts the watchdog HW timer at > reset and must be serviced from the very beginning including while > U-boot is executed in the firmware before relocation in RAM. > > Select CONFIG_HW_WATCHDOG and make hw_watchdog_reset() visible. > > Meanwhile, finalise the cleanup of arch/powerpc/cpu/mpc8xx/Kconfig by > removing the lines put in comment in that commit, and also remove > again the selection of CONFIG_MPC8xx_WATCHDOG which was removed by > that commit and brought back by mistake by commit b3134ffbd944 > ("watchdog: Kconfig: Sort entry alphabetically") > > Note that there was an 'imply WATCHDOG' in the original commit but > it disappeared in the Kconfig alphabetical sorting, so no need to > remove it here. > > Fixes: f3729ba6e7b2 ("watchdog: mpc8xx_wdt: Watchdog driver and macros cleanup") > Fixes: b3134ffbd944 ("watchdog: Kconfig: Sort entry alphabetically") > Signed-off-by: Christophe Leroy > Cc: Stefan Roese > Cc: Patrice Chotard > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: