Andrew Geissler | fc7e797 | 2023-09-11 08:24:07 -0400 | [diff] [blame^] | 1 | From 56874ab381b0f0beade2d200147245e157b4aff6 Mon Sep 17 00:00:00 2001 |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 2 | From: Gyorgy Szing <Gyorgy.Szing@arm.com> |
| 3 | Date: Mon, 13 Mar 2023 21:15:59 +0100 |
Andrew Geissler | fc7e797 | 2023-09-11 08:24:07 -0400 | [diff] [blame^] | 4 | Subject: [PATCH] Add spmc_manifest for qemu |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 5 | |
| 6 | This version only supports embedded packaging. |
| 7 | |
| 8 | Upstream-Status: Inappropriate [other] |
| 9 | - The SPMC manifest is integration specific and should live at an |
| 10 | integration spcific place. The manifest file is processed by TF-A |
| 11 | and I am adding the patch to TF-A to keep things simple. |
| 12 | |
| 13 | Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com> |
| 14 | --- |
| 15 | plat/qemu/fdts/optee_spmc_manifest.dts | 40 ++++++++++++++++++++++++++ |
| 16 | 1 file changed, 40 insertions(+) |
| 17 | create mode 100644 plat/qemu/fdts/optee_spmc_manifest.dts |
| 18 | |
| 19 | diff --git a/plat/qemu/fdts/optee_spmc_manifest.dts b/plat/qemu/fdts/optee_spmc_manifest.dts |
| 20 | new file mode 100644 |
Andrew Geissler | fc7e797 | 2023-09-11 08:24:07 -0400 | [diff] [blame^] | 21 | index 000000000000..ae2ae3d951de |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 22 | --- /dev/null |
| 23 | +++ b/plat/qemu/fdts/optee_spmc_manifest.dts |
| 24 | @@ -0,0 +1,40 @@ |
| 25 | +/* SPDX-License-Identifier: BSD-3-Clause */ |
| 26 | +/* |
| 27 | + * Copyright (c) 2023, Arm Limited. All rights reserved. |
| 28 | + */ |
| 29 | + |
| 30 | +/dts-v1/; |
| 31 | + |
| 32 | +/ { |
| 33 | + compatible = "arm,ffa-core-manifest-1.0"; |
| 34 | + #address-cells = <2>; |
| 35 | + #size-cells = <1>; |
| 36 | + |
| 37 | + attribute { |
| 38 | + spmc_id = <0x8000>; |
| 39 | + maj_ver = <0x1>; |
| 40 | + min_ver = <0x0>; |
| 41 | + exec_state = <0x0>; |
| 42 | + load_address = <0x0 0x0e100000>; |
| 43 | + entrypoint = <0x0 0x0e100000>; |
| 44 | + binary_size = <0x80000>; |
| 45 | + }; |
| 46 | + |
| 47 | +/* |
| 48 | + * This file will be preprocessed by TF-A's build system. If Measured Boot is |
| 49 | + * enabled in TF-A's config, the build system will add the MEASURED_BOOT=1 macro |
| 50 | + * to the preprocessor arguments. |
| 51 | + */ |
| 52 | +#if MEASURED_BOOT |
| 53 | + tpm_event_log { |
| 54 | + compatible = "arm,tpm_event_log"; |
| 55 | + tpm_event_log_addr = <0x0 0x0>; |
| 56 | + tpm_event_log_size = <0x0>; |
| 57 | + }; |
| 58 | +#endif |
| 59 | + |
| 60 | +/* If the ARM_BL2_SP_LIST_DTS is defined, SPs should be loaded from FIP */ |
| 61 | +#ifdef ARM_BL2_SP_LIST_DTS |
| 62 | + #error "FIP SP load addresses configuration is missing. |
| 63 | +#endif |
| 64 | +}; |