diff mbox series

[2/2] include: configs: soc64: Update source command format

Message ID 20221121160100.15986-2-jit.loon.lim@intel.com
State Needs Review / ACK, archived
Delegated to: Marek Vasut
Headers show
Series [1/2] arm: dts: soc64: Add U-boot script in FIT Image | expand

Commit Message

Jit Loon Lim Nov. 21, 2022, 4:01 p.m. UTC
From: Yau Wai Gan <yau.wai.gan@intel.com>

HSD #1509829545-2: U-boot script is in FIT image, this requires to update the source command to
supply the FIT subimage name.

Signed-off-by: Yau Wai Gan <yau.wai.gan@intel.com>
Signed-off-by: Jit Loon Lim <jit.loon.lim@intel.com>
---
 include/configs/socfpga_soc64_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h
index 552a922e39..5939f13231 100644
--- a/include/configs/socfpga_soc64_common.h
+++ b/include/configs/socfpga_soc64_common.h
@@ -91,7 +91,7 @@ 
 	"scriptaddr=0x02100000\0" \
 	"scriptfile=u-boot.scr\0" \
 	"fatscript=if fatload mmc 0:1 ${scriptaddr} ${scriptfile};" \
-		   "then source ${scriptaddr}; fi\0" \
+		   "then source ${scriptaddr}:script; fi\0" \
 	"nandfitboot=setenv bootargs " CONFIG_BOOTARGS \
 			" root=${nandroot} rw rootwait rootfstype=jffs2; " \
 			"bootm ${loadaddr}\0" \