[PATCH v1 08/12] powerpc/mpc85xx: socrates: Add boot retry feature

Heiko Schocher hs at denx.de
Tue Jan 24 18:06:56 CET 2023


add boot retry feature and reboot after 120 seconds.

Signed-off-by: Heiko Schocher <hs at denx.de>
---

 configs/socrates_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/socrates_defconfig b/configs/socrates_defconfig
index 770f37a0be..c4a3fd30d8 100644
--- a/configs/socrates_defconfig
+++ b/configs/socrates_defconfig
@@ -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
-- 
2.37.3



More information about the U-Boot mailing list