• Thomas Schäfer's avatar
    watchdog: imx_wdt: add variable timeout support · 0baf7db9
    Thomas Schäfer authored
    - Current driver only allows to define a fixed timeout value in the
      board config file.
    - Extend 'imx_watchdog_init' parameter list with timeout value as
      received by 'imx_wdt_start' function. Calculate timeout value and
      write appropriate value into WCR register.
    - For legacy use, the fixed CONFIG_WATCHDOG_TIMEOUT_MSECS from board
      config is still evaluated.
    Signed-off-by: Thomas Schäfer's avatarThomas Schaefer <thomas.schaefer@kontron.com>