display5: wdt: Enable WDT support (both SPL and u-boot)
authorLukasz Majewski <lukma@denx.de>
Fri, 11 May 2018 14:51:09 +0000 (16:51 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 18 Jun 2018 13:44:21 +0000 (15:44 +0200)
commit76d1d169f302b533249aa1fb84b765af0722a629
tree4780339354c2f2ffb56adf3329888eef4f39b4aa
parent27aede24bcdec3777da7b23efc0a8cb777d83d6a
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>
board/liebherr/display5/spl.c
configs/display5_defconfig
configs/display5_factory_defconfig
include/configs/display5.h