summaryrefslogtreecommitdiffstats
path: root/include/configs/display5.h
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2018-05-11 16:51:09 +0200
committerStefano Babic <sbabic@denx.de>2018-06-18 15:44:21 +0200
commit76d1d169f302b533249aa1fb84b765af0722a629 (patch)
tree4780339354c2f2ffb56adf3329888eef4f39b4aa /include/configs/display5.h
parent27aede24bcdec3777da7b23efc0a8cb777d83d6a (diff)
downloadu-boot-76d1d169f302b533249aa1fb84b765af0722a629.tar.gz
u-boot-76d1d169f302b533249aa1fb84b765af0722a629.tar.xz
u-boot-76d1d169f302b533249aa1fb84b765af0722a629.zip
display5: wdt: Enable WDT support (both SPL and u-boot)
Test case: The fitImage gets corrupted: truncate -c -s 3M fitImage run tftp_mmc_fitImg setenv boot_os y reset [board shall hang in SPL with "Trying to boot from MMC1" information] Then after X seconds WDT is causing board to reset. After N boot attempts we enter recovery mode. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'include/configs/display5.h')
-rw-r--r--include/configs/display5.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/display5.h b/include/configs/display5.h
index c4cd2ff6f9..929741dedd 100644
--- a/include/configs/display5.h
+++ b/include/configs/display5.h
@@ -383,6 +383,11 @@
#define CONFIG_MTD_PARTITIONS
#define CONFIG_MTD_DEVICE
+/* Watchdog */
+#define CONFIG_HW_WATCHDOG
+#define CONFIG_IMX_WATCHDOG
+#define CONFIG_WATCHDOG_TIMEOUT_MSECS 15000
+
/* ENV config */
#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
#define CONFIG_ENV_SIZE (SZ_64K)