summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrimoz Fiser <primoz.fiser@norik.com>2025-04-10 10:41:18 +0200
committerFabio Estevam <festevam@gmail.com>2025-04-11 10:00:58 -0300
commitf7d7eaa57359496bff4dfef46003879109c8f92c (patch)
tree09c016598551b36906b6b447df9b065f994d8eb7
parenta2a55965b1c0760ac9a98768d03063ca68862efd (diff)
board: phycore-imx93: env: Add optargs to environment
Add the optargs variable so we can set optional arguments while booting. Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
-rw-r--r--board/phytec/phycore_imx93/phycore_imx93.env4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/phytec/phycore_imx93/phycore_imx93.env b/board/phytec/phycore_imx93/phycore_imx93.env
index 9c70c40b2fc..36bf3fefa0b 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;