mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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:
parent
f8420d7c0f
commit
04886b36eb
2 changed files with 8 additions and 0 deletions
|
@ -40,6 +40,7 @@ CONFIG_CMD_MMC=y
|
|||
CONFIG_CMD_SATA=y
|
||||
CONFIG_CMD_USB=y
|
||||
CONFIG_CMD_USB_MASS_STORAGE=y
|
||||
CONFIG_CMD_WDT=y
|
||||
CONFIG_CMD_CACHE=y
|
||||
CONFIG_CMD_TIME=y
|
||||
CONFIG_CMD_EXT4_WRITE=y
|
||||
|
@ -83,6 +84,8 @@ CONFIG_DM_SCSI=y
|
|||
CONFIG_SPI=y
|
||||
CONFIG_DM_SPI=y
|
||||
CONFIG_MXC_SPI=y
|
||||
CONFIG_SYSRESET=y
|
||||
CONFIG_SYSRESET_WATCHDOG=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_USB_GADGET=y
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue