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 f2929d11a6 ("watchdog: imx: Use
       immediate reset bits for expire_now")

Signed-off-by: Claudius Heine <ch@denx.de>
This commit is contained in:
Claudius Heine
2019-11-29 08:59:03 +01:00
committed by Stefano Babic
parent f8420d7c0f
commit 04886b36eb
2 changed files with 8 additions and 0 deletions

View File

@@ -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