aboutsummaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorYashwanth Varakala <y.varakala@phytec.de>2024-08-20 17:46:29 +0200
committerFabio Estevam <festevam@gmail.com>2024-08-23 14:53:07 -0300
commitf0f5ab50c2c534111d24652444e77700dffd2f90 (patch)
treedd135fedd0eb835a3da373cad91908d8318d35f1 /board
parent8ad6ac9fbdec6bec472994d42cc1a40a5227d105 (diff)
downloadu-boot-f0f5ab50c2c534111d24652444e77700dffd2f90.tar.gz
board: phytec: phycore_imx8mp: Add mcore support
Added m7 core support in uboot for imx8mp by adding the boot variable prepare_mcore. Based on commit 0ed32cc8568a ("LF-6555 imx8m[m/n/p/q]_evk: add bootargs to support mcore") Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
Diffstat (limited to 'board')
-rw-r--r--board/phytec/phycore_imx8mp/phycore_imx8mp.env5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/phytec/phycore_imx8mp/phycore_imx8mp.env b/board/phytec/phycore_imx8mp/phycore_imx8mp.env
index f8f878e8f3a..889464e933f 100644
--- a/board/phytec/phycore_imx8mp/phycore_imx8mp.env
+++ b/board/phytec/phycore_imx8mp/phycore_imx8mp.env
@@ -30,7 +30,7 @@ ip_dyn=yes
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
mmcargs=
- setenv bootargs console=${console}
+ setenv bootargs ${mcore_clk} console=${console}
root=/dev/mmcblk${mmcdev}p${mmcroot} ${raucargs} rootwait rw
mmcautodetect=yes
mmcboot=
@@ -51,7 +51,7 @@ mmcdev=CONFIG_SYS_MMC_ENV_DEV
mmcpart=1
mmcroot=2
netargs=
- setenv bootargs console=${console} root=/dev/nfs ip=dhcp
+ setenv bootargs ${mcore_clk} console=${console} root=/dev/nfs ip=dhcp
nfsroot=${serverip}:${nfsroot},v3,tcp
netboot=
echo Booting from net ...;
@@ -74,4 +74,5 @@ netboot=
echo WARN: Cannot load the DT;
fi;
nfsroot=/srv/nfs
+prepare_mcore=setenv mcore_clk clk-imx8mp.mcore_booted
sd_dev=1