diff mbox series

configs: ti: Fix usage of undefined variable overlay_files

Message ID 20200424183952.4232-1-s-anna@ti.com
State Accepted
Commit 552f19f8fe069500c024bbe44e25e1ed9535d27c
Headers show
Series configs: ti: Fix usage of undefined variable overlay_files | expand

Commit Message

Suman Anna April 24, 2020, 6:39 p.m. UTC
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")
Signed-off-by: Suman Anna <s-anna at ti.com>
---
 include/configs/ti_armv7_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lokesh Vutla May 11, 2020, 12:44 p.m. UTC | #1
On 25/04/20 12:09 AM, Suman Anna wrote:
> 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")
> Signed-off-by: Suman Anna <s-anna at ti.com>

Merged into u-boot-ti.

Thanks and regards,
Lokesh
diff mbox series

Patch

diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index a612bb5b4a8e..08829781e314 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -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" \