Skip to contentSkip to conversation

configs: ti: Fix usage of undefined variable overlay_files

PATCH New Suman Anna 2 participants 2 messages Apr 24, 2020 – May 11, 2020

lore
Share & tools
lore

Suman Anna

author
#0 lore raw

PATCH 1/1 configs: ti: Fix usage of undefined variable overlay_files

The env variable overlay_files is used while adding the environment support commands for FIT loading, but it was cleaned up just prior in commit ee53b59511a6 ("configs: Remove unneeded overlay_files environment variable"). Fix this by replacing the undefined variable with the proper name_overlays env variable.

Fixes 76470b6929d5 ("configs: ti: Add environment support commands for FIT loading")
---
 include/configs/ti_armv7_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/ti_armv7_common.h +1 -1
index a612bb5b4a8e..08829781e314 100644
@@ -63,7 +63,7 @@
 	"name_fit=fitImage\0" \
 	"update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}\0" \
 	"get_overlaystring=" \
-		"for overlay in $overlay_files;" \
+		"for overlay in $name_overlays;" \
 		"do;" \
 		"setenv overlaystring ${overlaystring}'#'${overlay};" \
 		"done;\0" \
Signature · 1 line
2.26.0
#1 lore raw

PATCH 1/1 configs: ti: Fix usage of undefined variable overlay_files

Quoted 8 lines · Suman Anna

The env variable overlay_files is used while adding the environment support commands for FIT loading, but it was cleaned up just prior in commit ee53b59511a6 ("configs: Remove unneeded overlay_files environment variable"). Fix this by replacing the undefined variable with the proper name_overlays env variable.

Fixes 76470b6929d5 ("configs: ti: Add environment support commands for FIT loading")

Merged into u-boot-ti.

Thanks and regards,
Lokesh