diff mbox series

[v4,6/8] watchdog: kconfig: Enable designware for rk3399

Message ID 20200109085222.22670-7-jagan@amarulasolutions.com
State Accepted
Commit 0a08a614b05e8dd199ba15179e2cb8b55a3f8e32
Headers show
Series rk3399: Add redundant boot support | expand

Commit Message

Jagan Teki Jan. 9, 2020, 8:52 a.m. UTC
Enable designware watchdog driver for rk3399 if WDT defined.

Cc: Marek Vasut <marex at denx.de>
Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
Changes for v4:
- This change on top of below series
  https://patchwork.ozlabs.org/project/uboot/list/?series=151431

 drivers/watchdog/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Kever Yang Jan. 17, 2020, 6:46 a.m. UTC | #1
On 2020/1/9 下午4:52, Jagan Teki wrote:
> Enable designware watchdog driver for rk3399 if WDT defined.
>
> Cc: Marek Vasut <marex at denx.de>
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
> Changes for v4:
> - This change on top of below series
>    https://patchwork.ozlabs.org/project/uboot/list/?series=151431
>
>   drivers/watchdog/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index bf5612a811..ceefee3a6b 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -48,6 +48,7 @@ config ULP_WATCHDOG
>   config DESIGNWARE_WATCHDOG
>   	bool "Designware watchdog timer support"
>   	select HW_WATCHDOG if !WDT
> +	default y if WDT && ROCKCHIP_RK3399
>   	help
>   	   Enable this to support Designware Watchdog Timer IP, present e.g.
>   	   on Altera SoCFPGA SoCs.
diff mbox series

Patch

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index bf5612a811..ceefee3a6b 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -48,6 +48,7 @@  config ULP_WATCHDOG
 config DESIGNWARE_WATCHDOG
 	bool "Designware watchdog timer support"
 	select HW_WATCHDOG if !WDT
+	default y if WDT && ROCKCHIP_RK3399
 	help
 	   Enable this to support Designware Watchdog Timer IP, present e.g.
 	   on Altera SoCFPGA SoCs.