mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-06 16:48:54 +00:00
arm-bsp/tc0: Enable optee core with SPMC at SEL2
Sets config flag CFG_CORE_SEL2_SPMC. Copies optee manifest file and sp_layout files to deploy directory. Signed-off-by: Arunachalam Ganapathy <arunachalam.ganapathy@arm.com> Change-Id: If2104e2d588cbc9fbd9db3d8c4ba9fb74732901b Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
b595d1ea47
commit
7453f06afc
@@ -27,3 +27,25 @@ SRC_URI_append = " \
|
||||
COMPATIBLE_MACHINE = "tc0"
|
||||
|
||||
OPTEEMACHINE = "totalcompute-tc0"
|
||||
|
||||
# Enable optee memory layout and boot logs
|
||||
EXTRA_OEMAKE += " CFG_TEE_CORE_LOG_LEVEL=3"
|
||||
|
||||
# default disable latency benchmarks (over all OP-TEE layers)
|
||||
EXTRA_OEMAKE += " CFG_TEE_BENCHMARK=n"
|
||||
|
||||
# Enable stats
|
||||
EXTRA_OEMAKE += " CFG_WITH_STATS=y"
|
||||
|
||||
EXTRA_OEMAKE += " CFG_CORE_SEL2_SPMC=y"
|
||||
|
||||
# Copy optee manifest file and sp_layout
|
||||
# This function will be modified or removed once upstream optee-os adds support
|
||||
# for SEL2 SPMC config
|
||||
do_install_append() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/
|
||||
install -m 644 ${S}/core/arch/arm/plat-totalcompute/sp_layout.json \
|
||||
${D}${nonarch_base_libdir}/firmware/
|
||||
install -m 644 ${S}/core/arch/arm/plat-totalcompute/optee_manifest.dts \
|
||||
${D}${nonarch_base_libdir}/firmware/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user