1PLATFORM_FLAVOR ?= ld20 2 3include core/arch/arm/cpu/cortex-armv8-0.mk 4 5ifeq ($(PLATFORM_FLAVOR),ld20) 6$(call force,CFG_TEE_CORE_NB_CORE,4) 7$(call force,CFG_CORE_ARM64_PA_BITS,36) 8CFG_DRAM0_BASE ?= 0x80000000 9CFG_DRAM0_SIZE ?= 0xc0000000 10CFG_DRAM0_RSV_SIZE ?= 0x02000000 11endif 12 13ifeq ($(PLATFORM_FLAVOR),ld11) 14$(call force,CFG_TEE_CORE_NB_CORE,2) 15CFG_DRAM0_BASE ?= 0x80000000 16CFG_DRAM0_SIZE ?= 0x40000000 17CFG_DRAM0_RSV_SIZE ?= 0x02000000 18endif 19 20CFG_TZDRAM_START ?= (CFG_DRAM0_BASE + 0x01080000) 21CFG_TZDRAM_SIZE ?= 0x00E00000 22CFG_SHMEM_START ?= (CFG_DRAM0_BASE + 0x00E00000) 23CFG_SHMEM_SIZE ?= 0x00200000 24CFG_TEE_RAM_VA_SIZE ?= 0x00100000 25 26# 32-bit flags 27core_arm32-platform-aflags += -mfpu=neon 28 29$(call force,CFG_HWSUPP_MEM_PERM_PXN,y) 30$(call force,CFG_GIC,y) 31$(call force,CFG_ARM_GICV3,y) 32$(call force,CFG_8250_UART,y) 33$(call force,CFG_SECURE_TIME_SOURCE_CNTPCT,y) 34$(call force,CFG_WITH_ARM_TRUSTED_FW,y) 35$(call force,CFG_CORE_CLUSTER_SHIFT,1) 36 37ta-targets = ta_arm32 38 39ifeq ($(CFG_ARM64_core),y) 40ta-targets += ta_arm64 41else 42$(call force,CFG_ARM32_core,y) 43endif 44 45CFG_NUM_THREADS ?= 4 46CFG_CRYPTO_WITH_CE ?= y 47