Commit 5ff1751d authored by Bryan O'Donoghue's avatar Bryan O'Donoghue
Browse files

imx7: imx7_clock: wdog: Initialize the watchdog clocks



This patch initializes the watchdog clocks for the i.MX7.
Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
parent 73f432a4
......@@ -14,6 +14,14 @@ static void imx7_clock_uart_init(void)
imx_clock_disable_uart(i);
}
static void imx7_clock_wdog_init(void)
{
unsigned int i;
for (i = 0; i < MXC_MAX_WDOG_NUM; i++)
imx_clock_disable_wdog(i);
}
void imx_clock_init(void)
{
/*
......@@ -30,4 +38,7 @@ void imx_clock_init(void)
/* Initialize UART clocks */
imx7_clock_uart_init();
/* Watchdog clocks */
imx7_clock_wdog_init();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment