diff mbox series

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

Message ID 20230124170700.3889830-9-hs@denx.de
State Accepted
Commit 6073fbea88dfc424e35b4dcdf1fc65fabe2c30ed
Delegated to: Tom Rini
Headers show
Series powerpc: mpc85xx: fixes and updates for socrates board | expand

Commit Message

Heiko Schocher Jan. 24, 2023, 5:06 p.m. UTC
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(+)

Comments

Tom Rini Feb. 7, 2023, 4:50 p.m. UTC | #1
On Tue, Jan 24, 2023 at 06:06:56PM +0100, Heiko Schocher wrote:

> add boot retry feature and reboot after 120 seconds.
> 
> Signed-off-by: Heiko Schocher <hs@denx.de>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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