From b22b70ff0b5bbacea7383bde9e8893bb504199c3 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Fri, 29 Mar 2019 16:55:39 +0800 Subject: [PATCH] MLK-21291 imx8mm: evk: not restrict uart4 when enabling jailhouse When booting dual linux with jailhouse, inmate linux will use the 2nd uart, so not restrict access the uart for jailhouse case. The best solution would be using SIP call to ATF, for simplicity, directly modify the RDC register. Signed-off-by: Peng Fan --- include/configs/imx8mm_evk.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/imx8mm_evk.h b/include/configs/imx8mm_evk.h index 0edf071..68d0643 100644 --- a/include/configs/imx8mm_evk.h +++ b/include/configs/imx8mm_evk.h @@ -121,12 +121,12 @@ */ #define JAILHOUSE_ENV \ "jh_clk= \0 " \ - "jh_mmcboot=setenv fdt_file fsl-imx8mm-evk-root.dtb;" \ + "jh_mmcboot=mw 0x303d0518 0xff; setenv fdt_file fsl-imx8mm-evk-root.dtb;" \ "setenv jh_clk clk_ignore_unused; " \ "if run loadimage; then " \ "run mmcboot; " \ "else run jh_netboot; fi; \0" \ - "jh_netboot=setenv fdt_file fsl-imx8mm-evk-root.dtb; setenv jh_clk clk_ignore_unused; run netboot; \0 " + "jh_netboot=mw 0x303d0518 0xff; setenv fdt_file fsl-imx8mm-evk-root.dtb; setenv jh_clk clk_ignore_unused; run netboot; \0 " #ifdef CONFIG_NAND_BOOT #define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(nandboot),16m(nandfit),32m(nandkernel),16m(nanddtb),8m(nandtee),-(nandrootfs) " -- 1.9.1