From 6073fbea88dfc424e35b4dcdf1fc65fabe2c30ed Mon Sep 17 00:00:00 2001
From: Heiko Schocher <hs@denx.de>
Date: Tue, 24 Jan 2023 18:06:56 +0100
Subject: [PATCH] powerpc/mpc85xx: socrates: Add boot retry feature

add boot retry feature and reboot after 120 seconds.

Signed-off-by: Heiko Schocher <hs@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.39.5