aboutsummaryrefslogtreecommitdiff
path: root/configs/verdin-imx8mm_defconfig
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-04-29 15:04:27 +0200
committerStefano Babic <sbabic@denx.de>2020-05-01 13:46:22 +0200
commitd304e7ace3a68e6194db49f68323615d0c84fc47 (patch)
tree27a0a9dbed81a0e3cbec8e274261a71a0ca5b1d0 /configs/verdin-imx8mm_defconfig
parentf24dea4e1b52241ea048cee49e95af630e5a96f0 (diff)
downloadu-boot-d304e7ace3a68e6194db49f68323615d0c84fc47.zip
u-boot-d304e7ace3a68e6194db49f68323615d0c84fc47.tar.gz
u-boot-d304e7ace3a68e6194db49f68323615d0c84fc47.tar.bz2
ARM: imx8m: Fix reset in SPL on Toradex iMX8MM Verdin
Board files should not re-implement do_reset() to work around this function not being defined in for specific configurations. Rather, the fix is to compile in drivers which implement this properly. This patch enables sysreset and watchdog drivers in SPL and ties them together to implement the same as the do_reset() hack in the board file, except correctly in the DM/DT framework. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Flavio Suligoi <f.suligoi@asem.it> Cc: Harald Seiler <hws@denx.de> Cc: Igor Opaniuk <igor.opaniuk@toradex.com> Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com> Cc: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Acked-by: Igor Opaniuk <igor.opaniuk@toradex.com> Acked-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Diffstat (limited to 'configs/verdin-imx8mm_defconfig')
-rw-r--r--configs/verdin-imx8mm_defconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/verdin-imx8mm_defconfig b/configs/verdin-imx8mm_defconfig
index 5fd8490..c852ad2 100644
--- a/configs/verdin-imx8mm_defconfig
+++ b/configs/verdin-imx8mm_defconfig
@@ -36,6 +36,7 @@ CONFIG_SPL_SEPARATE_BSS=y
CONFIG_SPL_I2C_SUPPORT=y
CONFIG_SPL_POWER_SUPPORT=y
CONFIG_SPL_USB_HOST_SUPPORT=y
+CONFIG_SPL_WATCHDOG_SUPPORT=y
CONFIG_SYS_PROMPT="Verdin iMX8MM # "
# CONFIG_BOOTM_NETBSD is not set
CONFIG_CMD_ASKENV=y
@@ -92,5 +93,9 @@ CONFIG_DM_REGULATOR_FIXED=y
CONFIG_DM_REGULATOR_GPIO=y
CONFIG_MXC_UART=y
CONFIG_SYSRESET=y
+CONFIG_SPL_SYSRESET=y
CONFIG_SYSRESET_PSCI=y
+CONFIG_SYSRESET_WATCHDOG=y
CONFIG_DM_THERMAL=y
+# CONFIG_WATCHDOG is not set
+CONFIG_IMX_WATCHDOG=y