1FILESEXTRAPATHS:prepend := "${THISDIR}/files/optee-os/corstone1000:"
2SRC_URI:append = " \
3                  file://0001-Handle-logging-syscall.patch \
4                  file://0002-increase-tzdram-size.patch \
5                  file://0003-plat-corstone1000-Remove-MMCOMM-buffer-address.patch \
6		  "
7
8COMPATIBLE_MACHINE = "corstone1000"
9
10OPTEEMACHINE = "corstone1000"
11# Enable optee memory layout and boot logs
12EXTRA_OEMAKE += " CFG_TEE_CORE_LOG_LEVEL=4"
13
14# default disable latency benchmarks (over all OP-TEE layers)
15EXTRA_OEMAKE += " CFG_TEE_BENCHMARK=n"
16
17EXTRA_OEMAKE += " CFG_CORE_SEL1_SPMC=y CFG_CORE_FFA=y"
18
19EXTRA_OEMAKE += " CFG_WITH_SP=y"
20
21EXTRA_OEMAKE:append:corstone1000-fvp = "${@bb.utils.contains('MACHINE_FEATURES', 'corstone1000_fvp_smp', ' CFG_TEE_CORE_NB_CORE=4', '', d)}"
22