Merge "refactor(tc): use internal trusted storage" into integration
This commit is contained in:
commit
be1eba51e9
|
@ -108,7 +108,7 @@ Arm Platform Build Options
|
||||||
file name contains pattern optee_sp.
|
file name contains pattern optee_sp.
|
||||||
|
|
||||||
- ``TS_SP_FW_CONFIG``: DTC build flag to include Trusted Services (Crypto and
|
- ``TS_SP_FW_CONFIG``: DTC build flag to include Trusted Services (Crypto and
|
||||||
secure-storage) as SP in tb_fw_config device tree.
|
internal-trusted-storage) as SP in tb_fw_config device tree.
|
||||||
|
|
||||||
- ``ARM_GPT_SUPPORT``: Enable GPT parser to get the entry address and length of
|
- ``ARM_GPT_SUPPORT``: Enable GPT parser to get the entry address and length of
|
||||||
the various partitions present in the GPT image. This support is available
|
the various partitions present in the GPT image. This support is available
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
#ifdef TS_SP_FW_CONFIG
|
#ifdef TS_SP_FW_CONFIG
|
||||||
vm2 {
|
vm2 {
|
||||||
is_ffa_partition;
|
is_ffa_partition;
|
||||||
debug_name = "secure-storage";
|
debug_name = "internal-trusted-storage";
|
||||||
load_address = <0xfee00000>;
|
load_address = <0xfee00000>;
|
||||||
vcpu_count = <1>;
|
vcpu_count = <1>;
|
||||||
mem_size = <2097152>; /* 2MB TZC DRAM */
|
mem_size = <2097152>; /* 2MB TZC DRAM */
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <lib/libc/cdefs.h>
|
||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
|
@ -27,8 +29,11 @@
|
||||||
|
|
||||||
secure-partitions {
|
secure-partitions {
|
||||||
compatible = "arm,sp";
|
compatible = "arm,sp";
|
||||||
|
#ifdef ARM_BL2_SP_LIST_DTS
|
||||||
|
#include __XSTRING(ARM_BL2_SP_LIST_DTS)
|
||||||
|
#else
|
||||||
#ifdef TS_SP_FW_CONFIG
|
#ifdef TS_SP_FW_CONFIG
|
||||||
secure-storage {
|
internal-trusted-storage {
|
||||||
uuid = "dc1eef48-b17a-4ccf-ac8b-dfcff7711b14";
|
uuid = "dc1eef48-b17a-4ccf-ac8b-dfcff7711b14";
|
||||||
load-address = <0xfee00000>;
|
load-address = <0xfee00000>;
|
||||||
};
|
};
|
||||||
|
@ -60,5 +65,6 @@
|
||||||
load-address = <0xfe200000>;
|
load-address = <0xfe200000>;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* ARM_BL2_SP_LIST_DTS */
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue