blob: 793665222beb7a31f4498561bf5523fb6f3b82ef [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001# TC0 specific configuration
2
3require optee-os-generic-tc.inc
4
5# Enable optee memory layout and boot logs
6EXTRA_OEMAKE += " CFG_TEE_CORE_LOG_LEVEL=3"
7
8# default disable latency benchmarks (over all OP-TEE layers)
9EXTRA_OEMAKE += " CFG_TEE_BENCHMARK=n"
10
11# Enable stats
12EXTRA_OEMAKE += " CFG_WITH_STATS=y"
13
14EXTRA_OEMAKE += " CFG_CORE_SEL2_SPMC=y"
15
16# Copy optee manifest file
17do_install:append() {
18 install -d ${D}${nonarch_base_libdir}/firmware/
19 install -m 644 ${WORKDIR}/sp_layout.json ${D}${nonarch_base_libdir}/firmware/
20 install -m 644 \
21 ${S}/core/arch/arm/plat-totalcompute/fdts/optee_sp_manifest.dts \
22 ${D}${nonarch_base_libdir}/firmware/
23}