soc: stm32l1: Add support for STM32 IWDG

The driver for STM32's independent watchdog already exists and is
compatible with the stm32l1 SoC. Enable the independent watchdog
for the stm32l1 series for use with this driver.

Signed-off-by: Kwon Tae-young <tykwon@m2i.co.kr>
This commit is contained in:
Kwon Tae-young 2020-01-23 12:14:49 +09:00 committed by Kumar Gala
commit 271bd8bcea
3 changed files with 13 additions and 0 deletions

View file

@ -61,6 +61,10 @@
#include <stm32l1xx_ll_spi.h>
#endif
#ifdef CONFIG_IWDG_STM32
#include <stm32l1xx_ll_iwdg.h>
#endif
#ifdef CONFIG_WWDG_STM32
#include <stm32l1xx_ll_wwdg.h>
#endif