Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | # TC0 specific configuration |
| 2 | |
| 3 | require optee-os-generic-tc.inc |
| 4 | |
| 5 | # Enable optee memory layout and boot logs |
| 6 | EXTRA_OEMAKE += " CFG_TEE_CORE_LOG_LEVEL=3" |
| 7 | |
| 8 | # default disable latency benchmarks (over all OP-TEE layers) |
| 9 | EXTRA_OEMAKE += " CFG_TEE_BENCHMARK=n" |
| 10 | |
| 11 | # Enable stats |
| 12 | EXTRA_OEMAKE += " CFG_WITH_STATS=y" |
| 13 | |
| 14 | EXTRA_OEMAKE += " CFG_CORE_SEL2_SPMC=y" |
| 15 | |
| 16 | # Copy optee manifest file |
| 17 | do_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 | } |