watchdog: Don't select CONFIG_WATCHDOG and CONFIG_HW_WATCHDOG at the same time
PATCH 1/1 watchdog: Don't select CONFIG_WATCHDOG and CONFIG_HW_WATCHDOG at the same time
Commit 06985289d452 ("watchdog: Implement generic watchdog_reset() version") introduced an automatic selection of CONFIG_WATCHDOG by CONFIG_WDT. But for boards selecting CONFIG_HW_WATCHDOG, like boards have a powerpc 8xx, CONFIG_WATCHDOG shall not be selected as they are mutually exclusive.
Make CONFIG_WATCHDOG dependent on !CONFIG_HW_WATCHDOG
--- drivers/watchdog/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/watchdog/Kconfig +1 -0
@@ -2,6 +2,7 @@ menu "Watchdog Timer Support" config WATCHDOG bool "Enable U-Boot watchdog reset" + depends on !HW_WATCHDOG help This option enables U-Boot watchdog support where U-Boot is using watchdog_reset function to service watchdog device in U-Boot. Enable
Signature · 1 line
2.25.0
PATCH 1/1 watchdog: Don't select CONFIG_WATCHDOG and CONFIG_HW_WATCHDOG at the same time
Quoted 11 lines · Christophe Leroy
Commit
06985289d452("watchdog: Implement genericwatchdog_reset()version") introduced an automatic selection ofCONFIG_WATCHDOGbyCONFIG_WDT. But for boards selectingCONFIG_HW_WATCHDOG, like boards have a powerpc 8xx,CONFIG_WATCHDOGshall not be selected as they are mutually exclusive.Make
CONFIG_WATCHDOGdependent on !CONFIG_HW_WATCHDOGFixes 06985289d452 ("watchdog: Implement generic watchdog_reset() version")Cc Stefan Roese <[email protected]>Signed-off-by Christophe Leroy <[email protected]>
Thanks,
Stefan
PATCH 1/1 watchdog: Don't select CONFIG_WATCHDOG and CONFIG_HW_WATCHDOG at the same time
In reply to Christophe LeroyQuoted 6 lines · Christophe Leroy
Commit
06985289d452("watchdog: Implement genericwatchdog_reset()version") introduced an automatic selection ofCONFIG_WATCHDOGbyCONFIG_WDT. But for boards selectingCONFIG_HW_WATCHDOG, like boards have a powerpc 8xx,CONFIG_WATCHDOGshall not be selected as they are mutually exclusive.
Quoted 6 lines
Make
CONFIG_WATCHDOGdependent on !CONFIG_HW_WATCHDOGFixes 06985289d452 ("watchdog: Implement generic watchdog_reset() version")Cc Stefan Roese <[email protected]>Signed-off-by Christophe Leroy <[email protected]>Reviewed-by Stefan Roese <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200228/71aa035e/attachment.sig>