]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ti: am64x: Set storage_interface and fw_dev_part ENVs
authorMD Danish Anwar <danishanwar@ti.com>
Wed, 12 Jun 2024 11:07:49 +0000 (16:37 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 19 Jun 2024 21:25:38 +0000 (15:25 -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 different
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>
board/ti/am64x/am64x.env

index 9a8812d4ee54fe25637da04212f7b788c788fbf3..8ad805a613c25beac7f0a26ecaa8efd4fac8c9a7 100644 (file)
@@ -39,3 +39,8 @@ usbboot=setenv boot usb;
        run get_kern_usb;
        run get_fdt_usb;
        run run_kern;
+
+#if CONFIG_TI_ICSSG_PRUETH
+storage_interface=mmc
+fw_dev_part=1:2
+#endif