]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: imx6qdl_icore_mmc: Enable watchdog and bootcounter
authorShyam Saini <shyam.saini@amarulasolutions.com>
Wed, 6 Feb 2019 07:53:36 +0000 (13:23 +0530)
committerStefano Babic <sbabic@denx.de>
Wed, 13 Mar 2019 08:14:35 +0000 (09:14 +0100)
Enable watchdog and bootcounter support on imx6qdl board

Signed-off-by: Shyam Saini <shyam.saini@amarulasolutions.com>
configs/imx6qdl_icore_mmc_defconfig

index f22e5ea8199640c0c4c929448829da0b9eca48e5..68ad1c6d2028c3d0dadfed2f1a1026046c994cc4 100644 (file)
@@ -12,6 +12,13 @@ CONFIG_DEBUG_UART_BASE=0x021f0000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_SPL_LIBDISK_SUPPORT=y
 # CONFIG_CMD_BMODE is not set
+CONFIG_CMD_BOOTCOUNT=y
+CONFIG_BOOTCOUNT_LIMIT=y
+CONFIG_BOOTCOUNT_BOOTLIMIT=3
+CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
+CONFIG_SYS_BOOTCOUNT_ADDR=0x00900000
+CONFIG_SYS_BOOTCOUNT_MAGIC=0x0B01C041
+CONFIG_IMX_WATCHDOG=y
 CONFIG_DEBUG_UART=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_FIT=y