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

Message ID 20200109085222.22670-7-jagan@amarulasolutions.com
State New
Headers show
Series
  • rk3399: Add redundant boot support
Related show

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@denx.de>
Signed-off-by: Jagan Teki <jagan@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@denx.de>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@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.

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.