diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2017-05-17 21:59:26 +0800 |
---|---|---|
committer | Abel Vesa <abel.vesa@nxp.com> | 2018-06-08 17:34:08 +0300 |
commit | 2fdcce893a44772d5fccc8686e35a4865450a069 (patch) | |
tree | ef870dbe3c9970a49b5cbb1dfb1af40c469ee84c /plat/imx/imx8qxp/include | |
parent | 5bb15033c25883396ee5c5c0383d1cf9b1fa9286 (diff) |
Add necessary resources to secure partition for i.MX8QXP
Add necessary resources to secure partition for protection.
Also add in functionality to allow for register access
of some secure-owned peripherals.
These peripherals will still be protected from power or
clk changes.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Teo Hall <teo.hall@nxp.com>
Diffstat (limited to 'plat/imx/imx8qxp/include')
-rw-r--r-- | plat/imx/imx8qxp/include/sec_rsrc.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/plat/imx/imx8qxp/include/sec_rsrc.h b/plat/imx/imx8qxp/include/sec_rsrc.h new file mode 100644 index 00000000..46585881 --- /dev/null +++ b/plat/imx/imx8qxp/include/sec_rsrc.h @@ -0,0 +1,18 @@ +/* Copyright 2017 NXP */ +/* Include file detailing the resource partitioning for ATF */ + +/* resources that are going to stay in secure partition */ +sc_rsrc_t secure_rsrcs[] = { + SC_R_MU_1A, + SC_R_A35, + SC_R_A35_0, + SC_R_A35_1, + SC_R_A35_2, + SC_R_A35_3, + SC_R_GIC, +}; + +/* resources that have register access for non-secure domain */ +sc_rsrc_t ns_access_allowed[] = { + SC_R_GIC, +}; |