watchdog: kconfig: Enable designware for rk3399
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 20 Apr 2020 18:04:13 +0000 (23:34 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 30 Apr 2020 17:04:20 +0000 (22:34 +0530)
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>
drivers/watchdog/Kconfig

index 6cafd243e049841251470929be7b83c7b3567e37..bf06180cddfca9c4e4b527f24fb1705b1668daff 100644 (file)
@@ -49,6 +49,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.