Patrick Williams | 8dd6848 | 2022-10-04 07:57:18 -0500 | [diff] [blame^] | 1 | From 16f183e3c09d64fee92638ea9d0017ac7973ddf8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Tudor Cretu <tudor.cretu@arm.com> |
| 3 | Date: Fri, 24 Sep 2021 12:09:53 +0000 |
| 4 | Subject: [PATCH 1/2] feat(plat/tc): add firmware update secure partition |
| 5 | |
| 6 | Firmware update is a trusted service secure partition that implements |
| 7 | the PSA firmware update specification. It executes in the secure world |
| 8 | in total compute platform. |
| 9 | |
| 10 | Signed-off-by: Davidson K <davidson.kumaresan@arm.com> |
| 11 | Signed-off-by: Tudor Cretu <tudor.cretu@arm.com> |
| 12 | Change-Id: I6223d247b078de8c03b068185bf120b3d502f500 |
| 13 | Upstream-Status: Pending [Not submitted to upstream yet] |
| 14 | --- |
| 15 | plat/arm/board/tc/fdts/tc_spmc_optee_sp_manifest.dts | 9 ++++++++- |
| 16 | plat/arm/board/tc/fdts/tc_tb_fw_config.dts | 4 ++++ |
| 17 | 2 files changed, 12 insertions(+), 1 deletion(-) |
| 18 | |
| 19 | diff --git a/plat/arm/board/tc/fdts/tc_spmc_optee_sp_manifest.dts b/plat/arm/board/tc/fdts/tc_spmc_optee_sp_manifest.dts |
| 20 | index 92e2ddda6..23ad06888 100644 |
| 21 | --- a/plat/arm/board/tc/fdts/tc_spmc_optee_sp_manifest.dts |
| 22 | +++ b/plat/arm/board/tc/fdts/tc_spmc_optee_sp_manifest.dts |
| 23 | @@ -28,7 +28,7 @@ |
| 24 | load_address = <0xfd280000>; |
| 25 | vcpu_count = <8>; |
| 26 | #ifdef TS_SP_FW_CONFIG |
| 27 | - mem_size = <26738688>; /* 25MB TZC DRAM */ |
| 28 | + mem_size = <20447232>; /* 19MB TZC DRAM */ |
| 29 | #else |
| 30 | mem_size = <30928896>; /* 29MB TZC DRAM */ |
| 31 | #endif |
| 32 | @@ -48,6 +48,13 @@ |
| 33 | vcpu_count = <1>; |
| 34 | mem_size = <2097152>; /* 2MB TZC DRAM */ |
| 35 | }; |
| 36 | + vm4 { |
| 37 | + is_ffa_partition; |
| 38 | + debug_name = "firmware-update"; |
| 39 | + load_address = <0xfe600000>; |
| 40 | + vcpu_count = <1>; |
| 41 | + mem_size = <6291456>; /* 6MB TZC DRAM */ |
| 42 | + }; |
| 43 | #endif |
| 44 | }; |
| 45 | |
| 46 | diff --git a/plat/arm/board/tc/fdts/tc_tb_fw_config.dts b/plat/arm/board/tc/fdts/tc_tb_fw_config.dts |
| 47 | index a5bb520fe..2c640b363 100644 |
| 48 | --- a/plat/arm/board/tc/fdts/tc_tb_fw_config.dts |
| 49 | +++ b/plat/arm/board/tc/fdts/tc_tb_fw_config.dts |
| 50 | @@ -41,6 +41,10 @@ |
| 51 | uuid = "d9df52d5-16a2-4bb2-9aa4-d26d3b84e8c0"; |
| 52 | load-address = <0xfec00000>; |
| 53 | }; |
| 54 | + firmware-update { |
| 55 | + uuid = "6823a838-1b06-470e-9774-0cce8bfb53fd"; |
| 56 | + load-address = <0xfe600000>; |
| 57 | + }; |
| 58 | #endif |
| 59 | #if OPTEE_SP_FW_CONFIG |
| 60 | op-tee { |
| 61 | -- |
| 62 | 2.34.1 |
| 63 | |