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 commitee53b59511("configs: Remove unneeded overlay_files environment variable"). Fix this by replacing the undefined variable with the proper name_overlays env variable. Fixes:76470b6929("configs: ti: Add environment support commands for FIT loading") Signed-off-by: Suman Anna <s-anna@ti.com>
This commit is contained in:
		
							parent
							
								
									c5c657644b
								
							
						
					
					
						commit
						552f19f8fe
					
				| 
						 | 
					@ -63,7 +63,7 @@
 | 
				
			||||||
	"name_fit=fitImage\0" \
 | 
						"name_fit=fitImage\0" \
 | 
				
			||||||
	"update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}\0" \
 | 
						"update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}\0" \
 | 
				
			||||||
	"get_overlaystring=" \
 | 
						"get_overlaystring=" \
 | 
				
			||||||
		"for overlay in $overlay_files;" \
 | 
							"for overlay in $name_overlays;" \
 | 
				
			||||||
		"do;" \
 | 
							"do;" \
 | 
				
			||||||
		"setenv overlaystring ${overlaystring}'#'${overlay};" \
 | 
							"setenv overlaystring ${overlaystring}'#'${overlay};" \
 | 
				
			||||||
		"done;\0" \
 | 
							"done;\0" \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue