Add the optargs variable so we can set optional arguments while booting.

Signed-off-by: Primoz Fiser <[email protected]>
---
 board/phytec/phycore_imx93/phycore_imx93.env | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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;
-- 
2.34.1

Reply via email to