mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-08 05:09:56 +00:00
arm-bsp/optee-os: corstone1000: enabling smm-gateway partition
This commit enables smm-gateway in optee-os by making the following changes: - Updating the existing SP manifest file with a combined manifest file that includes information about both se-proxy and SMM gateway SP. - Including the SMM gateway SP makefile in optee include file to embed smm gateway sp binary into optee image. Change-Id: Iebcf2c534a9e9ced411c943ff583b522ad9d69fa Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com> Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
This commit is contained in:
committed by
Ross Burton
parent
a70d0287e8
commit
28f6956415
+41
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
se-proxy{
|
||||
compatible = "arm,ffa-manifest-1.0";
|
||||
ffa-version = <0x00010000>; /* 31:16 - Major, 15:0 - Minor */
|
||||
uuid = <0x46bb39d1 0xb4d945b5 0x88ff0400 0x27dab249>;
|
||||
description = "SE Proxy";
|
||||
execution-ctx-count = <1>;
|
||||
exception-level = <1>; /* S-EL0 */
|
||||
execution-state = <0>; /* AArch64 */
|
||||
xlat-granule = <0>; /* 4KiB */
|
||||
messaging-method = <0>; /* Direct messaging only */
|
||||
};
|
||||
smm-gateway{
|
||||
compatible = "arm,ffa-manifest-1.0";
|
||||
ffa-version = <0x00010000>; /* 31:16 - Major, 15:0 - Minor */
|
||||
uuid = <0xed32d533 0x99e64209 0x9cc02d72 0xcdd998a7>;
|
||||
description = "SMM Gateway";
|
||||
execution-ctx-count = <1>;
|
||||
exception-level = <1>; /* S-EL0 */
|
||||
execution-state = <0>; /* AArch64 */
|
||||
xlat-granule = <0>; /* 4KiB */
|
||||
messaging-method = <0>; /* Direct messaging only */
|
||||
device-regions {
|
||||
compatible = "arm,ffa-manifest-device-regions";
|
||||
mm-comm-buffer {
|
||||
/* Armv8 A Foundation Platform values */
|
||||
base-address = <0x00000000 0x02000000>;
|
||||
pages-count = <1>;
|
||||
attributes = <0x3>; /* read-write */
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -9,5 +9,11 @@ EXTRA_OEMAKE += "'TS_INSTALL_PREFIX=${TS_INSTALL_PREFIX_PATH}'"
|
||||
# se-proxy secure partition
|
||||
SP_MKFILE_PATH="${TS_INSTALL_PREFIX}/lib/make/se-proxy.mk"
|
||||
|
||||
# smm-gateway secure partition
|
||||
SP_MKFILE_PATH += "${TS_INSTALL_PREFIX}/lib/make/smm-gateway.mk"
|
||||
|
||||
EXTRA_OEMAKE += "'CFG_SP_MKFILE_PATH=${SP_MKFILE_PATH}'"
|
||||
EXTRA_OEMAKE += "'CFG_EMBED_DTB_SOURCE_FILE=${TS_INSTALL_PREFIX_PATH}/manifest/46bb39d1-b4d9-45b5-88ff-040027dab249.dts'"
|
||||
|
||||
SRC_URI:append = " file://sp_manifest_combined_se.dts;subdir=${S}"
|
||||
EMBED_DTB_SOURCE_FILE = "${S}/sp_manifest_combined_se.dts"
|
||||
EXTRA_OEMAKE += "CFG_EMBED_DTB_SOURCE_FILE=${EMBED_DTB_SOURCE_FILE}"
|
||||
|
||||
Reference in New Issue
Block a user