]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
stm32mp1: configs: add condition to activate WATCHDOG in SPL
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 30 Jul 2019 17:16:33 +0000 (19:16 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 27 Aug 2019 07:36:56 +0000 (09:36 +0200)
Only activate WATCHDOG in SPL when CONFIG_WATCHDOG is activated in U-Boot.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/mach-stm32mp/Kconfig

index cee3ce16bbbb63bb762e28b367091c93eaa2bd79..187be17aabf9128b869087e1675b1bffd5d70d31 100644 (file)
@@ -17,7 +17,7 @@ config SPL
        select SPL_DM_RESET
        select SPL_SERIAL_SUPPORT
        select SPL_SYSCON
-       select SPL_WATCHDOG_SUPPORT
+       select SPL_WATCHDOG_SUPPORT if WATCHDOG
        imply BOOTSTAGE_STASH if SPL_BOOTSTAGE
        imply SPL_BOOTSTAGE if BOOTSTAGE
        imply SPL_DISPLAY_PRINT