diff options
author | Lukasz Majewski <lukma@denx.de> | 2018-05-11 16:51:04 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-06-18 15:42:38 +0200 |
commit | 1bcbf48f18dcd7c986166016105d0ccba5060b27 (patch) | |
tree | 5cfdcc94b0cf5c951cb04e662e52cc590748c747 /include/configs | |
parent | e087905a48ee8042ffdd9531b6aada6be2751ed1 (diff) | |
download | u-boot-1bcbf48f18dcd7c986166016105d0ccba5060b27.tar.gz |
display5: config: Reset the board when bootm fails
Since display5 is now supporting boot counting, we can just reset the
board when bootm fails (i.e. it doesn't boot the fitImage kernel for
any reason).
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/display5.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/configs/display5.h b/include/configs/display5.h index 3cb6365367..420ced73c2 100644 --- a/include/configs/display5.h +++ b/include/configs/display5.h @@ -151,7 +151,7 @@ "sf probe;" \ "sf read ${loadaddr} swu-kernel;" \ "sf read ${loadaddr_swu_initramfs} swu-initramfs;" \ - "bootm ${loadaddr} ${loadaddr_swu_initramfs};" + "bootm ${loadaddr} ${loadaddr_swu_initramfs};reset;" #define KERNEL_RECOVERY_PROCEDURE \ "echo '#######################';" \ @@ -159,7 +159,7 @@ "echo '#######################';" \ "sf probe;" \ "sf read ${loadaddr} lin-recovery;" \ - "bootm;" + "bootm;reset;" #define SETUP_BOOTARGS \ "run set_rootfs_part;" \ @@ -309,7 +309,7 @@ "if run download_kernel; then " \ "setenv bootargs console=${console} " \ "root=/dev/mmcblk0p2 rootwait;" \ - "bootm ${loadaddr} - ${fdtaddr};" \ + "bootm ${loadaddr} - ${fdtaddr};reset;" \ "fi\0" \ "addip=setenv bootargs ${bootargs} " \ "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:" \ @@ -326,7 +326,7 @@ "run addip;" \ "setenv bootargs ${bootargs} console=${console};" \ "setenv fdt_conf imx6q-${board}-${display}.dtb; " \ - "bootm ${loadaddr}#conf@${fdt_conf};" \ + "bootm ${loadaddr}#conf@${fdt_conf};reset;" \ "fi\0" \ "falcon_setup=" \ "if mmc dev ${mmcdev}; then " \ @@ -340,7 +340,7 @@ "boot_mmc=" \ "if mmc dev ${mmcdev}; then " \ SETUP_BOOTARGS \ - "bootm ${loadaddr}#conf@${fdt_conf};" \ + "bootm ${loadaddr}#conf@${fdt_conf};reset;" \ "fi\0" \ "set_kernel_part=" \ "if test ${BOOT_FROM} = ACTIVE; then " \ |