aboutsummaryrefslogtreecommitdiff
path: root/drivers/watchdog/Makefile
diff options
context:
space:
mode:
authorXiaoliang Yang <xiaoliang.yang_1@nxp.com>2018-10-18 18:27:45 +0800
committerStefano Babic <sbabic@denx.de>2019-01-01 14:12:18 +0100
commit005c1cf888a7ad72bd0f9ceb6f6b2eee7720f7b0 (patch)
treeee05963d702a2a6fdee4f75992ca417478c3dba9 /drivers/watchdog/Makefile
parent4dcbccf794a330895ee2aeba6964a94b33c60eda (diff)
downloadu-boot-005c1cf888a7ad72bd0f9ceb6f6b2eee7720f7b0.zip
u-boot-005c1cf888a7ad72bd0f9ceb6f6b2eee7720f7b0.tar.gz
u-boot-005c1cf888a7ad72bd0f9ceb6f6b2eee7720f7b0.tar.bz2
watchdog: driver support for fsl-lsch2
Support watchdog driver for fsl-lsch2. It's disabled in default. If you want to use it, please enable CONFIG_IMX_WATCHDOG. Define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Diffstat (limited to 'drivers/watchdog/Makefile')
-rw-r--r--drivers/watchdog/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile
index 74738ee..d901240 100644
--- a/drivers/watchdog/Makefile
+++ b/drivers/watchdog/Makefile
@@ -7,6 +7,8 @@ obj-$(CONFIG_WDT_AT91) += at91sam9_wdt.o
obj-$(CONFIG_FTWDT010_WATCHDOG) += ftwdt010_wdt.o
ifneq (,$(filter $(SOC), mx25 mx31 mx35 mx5 mx6 mx7 vf610))
obj-y += imx_watchdog.o
+else
+obj-$(CONFIG_IMX_WATCHDOG) += imx_watchdog.o
endif
obj-$(CONFIG_S5P) += s5p_wdt.o
obj-$(CONFIG_XILINX_TB_WATCHDOG) += xilinx_tb_wdt.o