summaryrefslogtreecommitdiff
path: root/plat/freescale/imx8qxp/include/sec_rsrc.h
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-06-19 03:12:09 -0500
committerYe Li <ye.li@nxp.com>2017-07-19 03:39:57 -0500
commitf14367e5c33a85a6b6a33f321f57d7c819dda45e (patch)
treee35ae0c255edc99979e365cb0ca972fc997d25b7 /plat/freescale/imx8qxp/include/sec_rsrc.h
parentbda85378508fd73ff6e9aa709de8c9ab1bad0dd0 (diff)
imx8qm/qxp: Modify the memory regions allocation to NS partition
Change to search the ATF owned memory regions and assign them to non-secure OS partition. Not allocate new memory region for each one. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'plat/freescale/imx8qxp/include/sec_rsrc.h')
-rw-r--r--plat/freescale/imx8qxp/include/sec_rsrc.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/plat/freescale/imx8qxp/include/sec_rsrc.h b/plat/freescale/imx8qxp/include/sec_rsrc.h
index 34d234dc..46585881 100644
--- a/plat/freescale/imx8qxp/include/sec_rsrc.h
+++ b/plat/freescale/imx8qxp/include/sec_rsrc.h
@@ -16,17 +16,3 @@ sc_rsrc_t secure_rsrcs[] = {
sc_rsrc_t ns_access_allowed[] = {
SC_R_GIC,
};
-
-struct mem_region {
- unsigned long start;
- unsigned long end;
-};
-
-struct mem_region ns_mem_region[] = {
- {0x000000000, 0x01BFFFFFF},
- {0x034000000, 0x037FFFFFF},
- {0x070000000, 0x07FFFFFFF},
- {0x080000000, 0x0FFFFFFFF},
- {0x400000000, 0x43FFFFFFF},
- {0x880000000, 0xFFFFFFFFF},
-};