[PATCH 09/10] am335x, guardian: set environment variable autoload to no

Gireesh.Hiremath at in.bosch.com Gireesh.Hiremath at in.bosch.com
Wed Jan 6 16:31:55 CET 2021


From: Gireesh Hiremath <Gireesh.Hiremath at in.bosch.com>

autoload: if set to "no" then rarpb, bootp or dhcp commands will
just perform a configuration lookup from the BOOTP / DHCP server,
but not try to load any image using TFTP

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath at in.bosch.com>
---
 include/configs/am335x_guardian.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h
index 7db349d35b..7723cda14f 100644
--- a/include/configs/am335x_guardian.h
+++ b/include/configs/am335x_guardian.h
@@ -62,10 +62,10 @@
 	MEM_LAYOUT_ENV_SETTINGS \
 	BOOTENV \
 	GUARDIAN_DEFAULT_PROD_ENV \
+	"autoload=no\0" \
 	"backlight_brightness=50\0" \
 	"bootubivol=rootfs\0" \
 	"distro_bootcmd=" \
-		"setenv autoload no; " \
 		"setenv rootflags \"bulk_read,chk_data_crc\"; " \
 		"setenv ethact usb_ether; " \
 		"if test \"${swi_status}\" -eq 1; then " \
-- 
2.20.1



More information about the U-Boot mailing list