imx8ulp: rdc: allow A35 access flexspi0 mem
authorYe Li <ye.li@nxp.com>
Fri, 29 Oct 2021 01:46:20 +0000 (09:46 +0800)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:38 +0000 (13:38 +0100)
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

index e057411..f64a8fb 100644 (file)
@@ -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;
 }