[PATCH 06/20] imx8ulp: rdc: allow A35 access flexspi0 mem

Peng Fan (OSS) peng.fan at oss.nxp.com
Fri Oct 29 03:46:20 CEST 2021


From: Ye Li <ye.li at nxp.com>

For singel boot, set flexspi0 mem to be accessed by A35

Signed-off-by: Ye Li <ye.li at nxp.com>
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 arch/arm/mach-imx/imx8ulp/soc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-imx/imx8ulp/soc.c b/arch/arm/mach-imx/imx8ulp/soc.c
index e0574112cd..f64a8fb9fc 100644
--- a/arch/arm/mach-imx/imx8ulp/soc.c
+++ b/arch/arm/mach-imx/imx8ulp/soc.c
@@ -463,6 +463,8 @@ static int trdc_set_access(void)
 	/* Iomuxc0: : PBridge1 slot 33 */
 	trdc_mbc_set_access(2, 7, 1, 33, false);
 
+	/* flexspi0 */
+	trdc_mrc_region_set_access(0, 7, 0x04000000, 0x0c000000, false);
 	return 0;
 }
 
-- 
2.30.0



More information about the U-Boot mailing list