PLATFORM_FLAVOR ?= developerbox

$(call force,CFG_GENERIC_BOOT,y)
$(call force,CFG_SECURE_TIME_SOURCE_CNTPCT,y)
$(call force,CFG_GIC,y)
$(call force,CFG_PL011,y)
$(call force,CFG_PM_STUBS,y)

include core/arch/arm/cpu/cortex-armv8-0.mk
$(call force,CFG_TEE_CORE_NB_CORE,24)
CFG_TZDRAM_START ?= 0xfc000000
CFG_TZDRAM_SIZE ?= 0x03c00000
CFG_SHMEM_START ?= 0xffc00000
CFG_SHMEM_SIZE ?= 0x00400000

$(call force,CFG_WITH_ARM_TRUSTED_FW,y)

$(call force,CFG_WITH_LPAE,y)
$(call force,CFG_ARM64_core,y)
ta-targets = ta_arm64

CFG_CRYPTO_SIZE_OPTIMIZATION ?= n
CFG_WITH_STACK_CANARIES ?= y
$(call force,CFG_ARM_GICV3,y)
$(call force,CFG_CORE_CLUSTER_SHIFT,1)

PLATFORM_FLAVOR ?= developerbox

$(call force,CFG_GENERIC_BOOT,y)
$(call force,CFG_SECURE_TIME_SOURCE_CNTPCT,y)
$(call force,CFG_GIC,y)
$(call force,CFG_PL011,y)
$(call force,CFG_PM_STUBS,y)

include core/arch/arm/cpu/cortex-armv8-0.mk
$(call force,CFG_TEE_CORE_NB_CORE,24)
CFG_NUM_THREADS ?= 8
CFG_TZDRAM_START ?= 0xfc000000
CFG_TZDRAM_SIZE ?= 0x03c00000
CFG_SHMEM_START ?= 0xffc00000
CFG_SHMEM_SIZE ?= 0x00400000

$(call force,CFG_WITH_ARM_TRUSTED_FW,y)

$(call force,CFG_WITH_LPAE,y)
$(call force,CFG_ARM64_core,y)
ta-targets = ta_arm64

CFG_CRYPTO_SIZE_OPTIMIZATION ?= n
CFG_WITH_STACK_CANARIES ?= y
$(call force,CFG_ARM_GICV3,y)
$(call force,CFG_CORE_CLUSTER_SHIFT,1)

Set default number of threads to 8
synquacer: Set default number of threads to 8

Synquacer is 24 core system but 24 threads seems to be overkill in
terms of memory usage. So kept it to 8 threads for now.

Acked-by: Jerome Forissier <ced78d268b4c9a0a20a59a9feeebd2ad90da03d3@linaro.org>
Acked-by: Jens Wiklander <7706914404370d7502c27a0eff493dcf491feb51@linaro.org>
Signed-off-by: Sumit Garg <0904b466d9452daa97eb086f40b9aaa7e498e972@linaro.org>
