diff mbox series

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

Message ID 20211029014634.20949-7-peng.fan@oss.nxp.com
State Accepted
Commit 608ed200f1ce5d56ef0c7b1be7177de86462157c
Delegated to: Stefano Babic
Headers show
Series i.MX8ULP misc update | expand

Commit Message

Peng Fan (OSS) Oct. 29, 2021, 1:46 a.m. UTC
From: Ye Li <ye.li@nxp.com>

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

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

Comments

Stefano Babic Feb. 5, 2022, 4:43 p.m. UTC | #1
> From: Ye Li <ye.li@nxp.com>
> For singel boot, set flexspi0 mem to be accessed by A35
> Signed-off-by: Ye Li <ye.li@nxp.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

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;
 }