diff mbox series

[v2,2/2] board: ti: am64x: Set storage_interface and fw_dev_part ENVs

Message ID 20240612110749.1699824-3-danishanwar@ti.com
State Accepted
Commit 4761524cd1fb76d25c35ebce0cfae4a6c78dc444
Delegated to: Tom Rini
Headers show
Series Enable ICSSG Driver for AM64x | expand

Commit Message

MD Danish Anwar June 12, 2024, 11:07 a.m. UTC
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 | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/board/ti/am64x/am64x.env b/board/ti/am64x/am64x.env
index 9a8812d4ee..8ad805a613 100644
--- a/board/ti/am64x/am64x.env
+++ b/board/ti/am64x/am64x.env
@@ -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