watchdog: Kconfig: enable MTK watchdog
authorKevin Hilman <khilman@baylibre.com>
Wed, 3 Nov 2021 23:03:53 +0000 (16:03 -0700)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 28 Dec 2021 12:58:59 +0000 (13:58 +0100)
commitab571cbc098cd862397a73451f47b69ad581f35f
tree51670a1c32a6a09e0308a7fc40dbf2cc88ac8dd1
parentfc74e0a40e4f9fd0468e34045b0c45bba11dcbb2
watchdog: Kconfig: enable MTK watchdog

Enable CONFIG_MEDIATEK_WATCHDOG when ARCH_MEDIATEK is enabled.

On some platforms (e.g. mt8183-pumpkin), watchdog is enabled by
bootloader, so kernel driver needs to be enabled to avoid watchdog
firing and causing reboot part way through kernel boot.

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20211103230354.915658-1-khilman@baylibre.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/Kconfig