diff mbox series

[2/6] board: phycore-imx93: env: Add optargs to environment

Message ID 20250410084122.1010297-3-primoz.fiser@norik.com
State Accepted
Commit f7d7eaa57359496bff4dfef46003879109c8f92c
Headers show
Series Update phyCORE-i.MX93 environment | expand

Commit Message

Primoz Fiser April 10, 2025, 8:41 a.m. UTC
Add the optargs variable so we can set optional arguments while booting.

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
---
 board/phytec/phycore_imx93/phycore_imx93.env | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/board/phytec/phycore_imx93/phycore_imx93.env b/board/phytec/phycore_imx93/phycore_imx93.env
index 9c70c40b2fca..36bf3fefa0ba 100644
--- a/board/phytec/phycore_imx93/phycore_imx93.env
+++ b/board/phytec/phycore_imx93/phycore_imx93.env
@@ -14,7 +14,7 @@  mmcpart=1
 mmcroot=2
 mmcautodetect=yes
 mmcargs=setenv bootargs console=${console},${baudrate} earlycon
-	root=/dev/mmcblk${mmcdev}p${mmcroot} ${raucargs} rootwait rw
+	root=/dev/mmcblk${mmcdev}p${mmcroot} ${raucargs} rootwait rw ${optargs}
 loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
 loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}
 mmcboot=
@@ -31,7 +31,7 @@  mmcboot=
 	fi;
 nfsroot=/nfs
 netargs=setenv bootargs console=${console},${baudrate} earlycon
-	root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp
+	root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp ${optargs}
 netboot=
 	echo Booting from net ...;
 	run netargs;