summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGireesh Hiremath <[email protected]>2021-06-11 16:13:43 +0000
committerLokesh Vutla <[email protected]>2021-07-15 17:56:03 +0530
commitd364926da3f9680cbaaabc7f976efe05b62d8c76 (patch)
treed38e787f2b6afdaafcd232b0307b6614f9de3a39 /include
parentda09ba6f733cf252fd0c366b4cbe9803f14155ef (diff)
am335x, guardian: update swi logic
read boot mode gpio and set the swi status Signed-off-by: Gireesh Hiremath <[email protected]> Signed-off-by: Lokesh Vutla <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include')
-rw-r--r--include/configs/am335x_guardian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h
index 814048bf861..c76f9b26fb2 100644
--- a/include/configs/am335x_guardian.h
+++ b/include/configs/am335x_guardian.h
@@ -64,13 +64,13 @@
"setenv rootflags \"bulk_read,chk_data_crc\"; " \
"setenv ethact usb_ether; " \
"if test \"${swi_status}\" -eq 1; then " \
- "setenv extrabootargs \"swi_attached\"; " \
"if dhcp; then " \
"sleep 1; " \
"if tftp \"${tftp_load_addr}\" \"bootscript.scr\"; then " \
"source \"${tftp_load_addr}\"; " \
"fi; " \
"fi; " \
+ "setenv extrabootargs $extrabootargs \"swi_attached\"; " \
"fi;" \
"run bootcmd_ubifs0;\0" \
"altbootcmd=" \