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 <peng.fan@nxp.com>
This commit is contained in:
Peng Fan 2019-03-29 16:55:39 +08:00
parent 77ee38dd28
commit b22b70ff0b
1 changed files with 2 additions and 2 deletions

View File

@ -121,12 +121,12 @@
*/ */
#define JAILHOUSE_ENV \ #define JAILHOUSE_ENV \
"jh_clk= \0 " \ "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; " \ "setenv jh_clk clk_ignore_unused; " \
"if run loadimage; then " \ "if run loadimage; then " \
"run mmcboot; " \ "run mmcboot; " \
"else run jh_netboot; fi; \0" \ "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 #ifdef CONFIG_NAND_BOOT
#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(nandboot),16m(nandfit),32m(nandkernel),16m(nanddtb),8m(nandtee),-(nandrootfs) " #define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(nandboot),16m(nandfit),32m(nandkernel),16m(nanddtb),8m(nandtee),-(nandrootfs) "