summaryrefslogtreecommitdiff
path: root/include/configs/dh_imx6.h
diff options
context:
space:
mode:
authorClaudius Heine <ch@denx.de>2019-11-29 10:59:03 +0300
committerStefano Babic <sbabic@denx.de>2020-01-07 12:26:56 +0300
commit04886b36eb72f9deda5deaf21b31777fda828af9 (patch)
treead3a109bc4f486d47afc7deae558f96c18b5f9b5 /include/configs/dh_imx6.h
parentf8420d7c0f706989905b1f1e1581aba26c595fe4 (diff)
downloadu-boot-04886b36eb72f9deda5deaf21b31777fda828af9.tar.xz
ARM: imx6: DHCOM i.MX6 PDK: Enable sysreset driver and wdt command
The SPL does not have DM enabled and therefor still needs to use the hardware watchdog interface provided by the imx-watchdog driver. Fixes: broken reset command after f2929d11a639 ("watchdog: imx: Use immediate reset bits for expire_now") Signed-off-by: Claudius Heine <ch@denx.de>
Diffstat (limited to 'include/configs/dh_imx6.h')
-rw-r--r--include/configs/dh_imx6.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h
index d762d2cb19..087d020cdd 100644
--- a/include/configs/dh_imx6.h
+++ b/include/configs/dh_imx6.h
@@ -87,6 +87,11 @@
#endif
/* Watchdog */
+#if defined(CONFIG_SPL_BUILD)
+#undef CONFIG_WDT
+#undef CONFIG_WATCHDOG
+#define CONFIG_HW_WATCHDOG
+#endif
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE