Add the following default environment variables for the NPCM845 EVB:

 - tftptimeout / tftptimeoutcountmax: relax the TFTP timeout so that
   large images can still be fetched over a slow or congested link
   instead of aborting early.
 - bootpretryperiod: extend the BOOTP/DHCP retry period accordingly.
 - stopwdt: convenience command to stop the watchdog that the boot
   ROM leaves running, so the board does not reset while sitting at
   the U-Boot prompt.

Signed-off-by: Jim Liu <[email protected]>
---
 include/configs/arbel.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/configs/arbel.h b/include/configs/arbel.h
index 63112baf9b2..95f6c365539 100644
--- a/include/configs/arbel.h
+++ b/include/configs/arbel.h
@@ -33,6 +33,10 @@
                "console=ttyS0,115200n8\0" \
                "common_bootargs=setenv bootargs earlycon=${earlycon} 
root=/dev/ram " \
                "console=${console} ramdisk_size=48000\0" \
+               "tftptimeout=1000\0" \
+               "tftptimeoutcountmax=50\0" \
+               "bootpretryperiod=60000\0" \
+               "stopwdt=wdt dev watchdog@901c; wdt stop\0" \
                "\0"
 
 #endif
-- 
2.34.1

Reply via email to