Commit d0d63afe authored by Olivier Deprez's avatar Olivier Deprez
Browse files

SPMC: adjust device region for first secure partition



For the first partition, mark first 2GB as device memory excluding
the Trusted DRAM region reserved for the SPMC.
Signed-off-by: default avatarOlivier Deprez <olivier.deprez@arm.com>
Change-Id: I3ff110b3facf5b6d41ac2519ff6ca5e30a0a502b
parent bd260fcb
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include "fvp-defs.dtsi" #include "fvp-defs.dtsi"
#undef POST #undef POST
#define POST \ #define POST \
enable-method = "psci"; \
}; };
/ { / {
...@@ -61,7 +60,11 @@ ...@@ -61,7 +60,11 @@
#size-cells = <0x0>; #size-cells = <0x0>;
CPU_0 CPU_0
/* SPM(Hafnium) requires secondary cpu nodes are declared in descending order */
/*
* SPMC (Hafnium) requires secondary core nodes are declared
* in descending order.
*/
CPU_7 CPU_7
CPU_6 CPU_6
CPU_5 CPU_5
...@@ -71,7 +74,12 @@ ...@@ -71,7 +74,12 @@
CPU_1 CPU_1
}; };
memory@60000000 { device-memory@0 {
device_type = "device-memory";
reg = <0x0 0x0 0x6000000 0x0 0x8000000 0x78000000>;
};
memory@6000000 {
device_type = "memory"; device_type = "memory";
reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */ reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */
}; };
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
CPU_0 CPU_0
/* /*
* SPMC(Hafnium) requires secondary core nodes are declared * SPMC (Hafnium) requires secondary core nodes are declared
* in descending order. * in descending order.
*/ */
CPU_7 CPU_7
...@@ -61,7 +61,12 @@ ...@@ -61,7 +61,12 @@
CPU_1 CPU_1
}; };
memory@60000000 { device-memory@0 {
device_type = "device-memory";
reg = <0x0 0x0 0x6000000 0x0 0x8000000 0x78000000>;
};
memory@6000000 {
device_type = "memory"; device_type = "memory";
reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */ reg = <0x0 0x6000000 0x2000000>; /* Trusted DRAM */
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment