]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ti: am65x: Set fw_storage_interface and fw_dev_part ENVs
authorMD Danish Anwar <danishanwar@ti.com>
Tue, 16 Apr 2024 09:20:18 +0000 (14:50 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 29 Apr 2024 16:54:38 +0000 (10:54 -0600)
When ICSSG driver is enabled (CONFIG_TI_ICSSG_PRUETH=y) set
storage_interface and fw_dev_part env variables.

These variables need be set appropriately in order to load differnet
ICSSG firmwares needed for ICSSG driver. By default the storage
interface is mmc and the partition is 1:2. User can modify this based on
their needs.

Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
Acked-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
board/ti/am65x/am65x.env

index 814374d68cf0bebb02c001bbef7c1932f4afd661..631997e4c979711d05addaabf44137d5b7b476ea 100644 (file)
@@ -27,3 +27,7 @@ get_fdt_ubi=ubifsload ${fdtaddr} ${bootdir}/${name_fdt}
 args_ubi=setenv bootargs console=${console} ${optargs}
 rootfstype=ubifs root=ubi0:rootfs rw ubi.mtd=ospi.rootfs
 
+#if CONFIG_TI_ICSSG_PRUETH
+storage_interface=mmc
+fw_dev_part=1:2
+#endif