[PATCH] watchdog: add option to provide fall-back restart handler
sha at pengutronix.de
Mon May 31 02:50:48 PDT 2021
On Mon, May 31, 2021 at 09:13:19AM +0200, Ahmad Fatoum wrote:
> Some barebox ports may have a watchdog, but no restart handler, e.g.
> reset happens via PMIC, which has no driver yet, but watchdog controls
> reset line going to PMIC. Accommodate such setups by allowing
> registration of watchdog as fall back restart handler.
> As reset handling can't be disabled, this is made a default n option
> to conserve binary size unless explicitly enabled.
Do we really need to make this optional? The binary size overhead can't
be much more than a few bytes.
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox