Update the i.MX8MP EVK functional test to enable the Cortex-M7 core
by setting maxcpus=5 and enabling the fsl-imx8mp.enable-cm7 property
The i.MX8MP SoC model makes the Cortex-M7 optional and disabled by default.

Signed-off-by: Gaurav Sharma <[email protected]>
---
 tests/functional/aarch64/test_imx8mp_evk.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/functional/aarch64/test_imx8mp_evk.py 
b/tests/functional/aarch64/test_imx8mp_evk.py
index 99ddcdef83..175bfb5b3e 100755
--- a/tests/functional/aarch64/test_imx8mp_evk.py
+++ b/tests/functional/aarch64/test_imx8mp_evk.py
@@ -53,7 +53,8 @@ def test_aarch64_imx8mp_evk_usdhc(self):
         self.set_machine('imx8mp-evk')
         self.vm.set_console(console_index=1)
         self.vm.add_args('-m', '2G',
-                         '-smp', '4',
+                         '-smp', '4,maxcpus=5',
+                         '-global', 'fsl-imx8mp.enable-cm7=on',
                          '-kernel', self.kernel_path,
                          '-initrd', self.initrd_path,
                          '-dtb', self.dtb_path,
-- 
2.34.1


Reply via email to