[PATCH 3/6] board: phycore-imx93: env: Add prepare_mcore to environment

Primoz Fiser primoz.fiser at norik.com
Thu Apr 10 10:41:19 CEST 2025


Add prepare_mcore script to environment to be able to notify Linux about
the state of M33 core via the kernel cmdline by appending to ${optargs}.

Signed-off-by: Primoz Fiser <primoz.fiser at norik.com>
---
 board/phytec/phycore_imx93/phycore_imx93.env | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/phytec/phycore_imx93/phycore_imx93.env b/board/phytec/phycore_imx93/phycore_imx93.env
index 36bf3fefa0ba..52c234a4206c 100644
--- a/board/phytec/phycore_imx93/phycore_imx93.env
+++ b/board/phytec/phycore_imx93/phycore_imx93.env
@@ -9,6 +9,7 @@ fdtoverlay_addr_r=0x900c0000
 bootenv_addr_r=0x90500000
 fdtfile=CONFIG_DEFAULT_FDT_FILE
 ip_dyn=yes
+prepare_mcore=setenv optargs "${optargs} clk-imx93.mcore_booted"
 mmcdev=CONFIG_SYS_MMC_ENV_DEV
 mmcpart=1
 mmcroot=2
-- 
2.34.1



More information about the U-Boot mailing list