]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/mpc85xx: socrates: Add boot retry feature
authorHeiko Schocher <hs@denx.de>
Tue, 24 Jan 2023 17:06:56 +0000 (18:06 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 6 Feb 2023 18:04:53 +0000 (13:04 -0500)
add boot retry feature and reboot after 120 seconds.

Signed-off-by: Heiko Schocher <hs@denx.de>
configs/socrates_defconfig

index 770f37a0bea55f51aad262dcc1a9cfb6721b110d..c4a3fd30d8378ca5906972d4bfd53eff0b252b27 100644 (file)
@@ -20,6 +20,9 @@ CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_MONITOR_BASE=0xFFF40000
 CONFIG_BOOTDELAY=1
+CONFIG_BOOT_RETRY=y
+CONFIG_BOOT_RETRY_TIME=120
+CONFIG_RESET_TO_RETRY=y
 CONFIG_USE_BOOTCOMMAND=y
 CONFIG_BOOTCOMMAND="run boot_nor"
 CONFIG_USE_PREBOOT=y