1PLATFORM_FLAVOR ?= armada7k8k 2 3ifeq ($(PLATFORM_FLAVOR),armada7k8k) 4include core/arch/arm/cpu/cortex-armv8-0.mk 5$(call force,CFG_TEE_CORE_NB_CORE,4) 6$(call force,CFG_TZDRAM_START,0x04400000) 7$(call force,CFG_TZDRAM_SIZE,0x00C00000) 8$(call force,CFG_SHMEM_START,0x05000000) 9$(call force,CFG_SHMEM_SIZE,0x00400000) 10$(call force,CFG_TEE_RAM_VA_SIZE,0x00400000) 11# If Secure Data Path is enabled, uses the TZDRAM last 4MByte 12$(call force,CFG_TEE_SDP_MEM_SIZE,0x00400000) 13platform-debugger-arm := 1 14$(call force,CFG_8250_UART,y) 15endif 16 17ifeq ($(PLATFORM_FLAVOR),armada3700) 18include core/arch/arm/cpu/cortex-armv8-0.mk 19$(call force,CFG_TEE_CORE_NB_CORE,2) 20$(call force,CFG_TZDRAM_START,0x04400000) 21$(call force,CFG_TZDRAM_SIZE,0x00C00000) 22$(call force,CFG_SHMEM_START,0x05000000) 23$(call force,CFG_SHMEM_SIZE,0x00400000) 24$(call force,CFG_TEE_RAM_VA_SIZE,0x00400000) 25# If Secure Data Path is enabled, uses the TZDRAM last 4MByte 26$(call force,CFG_TEE_SDP_MEM_SIZE,0x00400000) 27platform-debugger-arm := 1 28$(call force,CFG_MVEBU_UART,y) 29$(call force,CFG_ARM_GICV3,y) 30endif 31 32ifeq ($(PLATFORM_FLAVOR),otx2t96) 33include core/arch/arm/cpu/cortex-armv8-0.mk 34$(call force,CFG_TEE_CORE_NB_CORE,24) 35$(call force,CFG_CLUSTERS_PER_NODE,4) 36$(call force,CFG_TZDRAM_START,0x00001000) 37$(call force,CFG_TZDRAM_SIZE,0x000a00000) 38$(call force,CFG_SHMEM_START,0x01000000) 39$(call force,CFG_SHMEM_SIZE,0x00800000) 40$(call force,CFG_CORE_LARGE_PHYS_ADDR,y) 41$(call force,CFG_CORE_ARM64_PA_BITS,48) 42$(call force,CFG_LPAE_ADDR_SPACE_BITS,36) 43$(call force,CFG_PL011,y) 44$(call force,CFG_ARM_GICV3,y) 45CFG_HW_UNQ_KEY_SUPPORT ?= y 46CFG_USER_TA_TARGETS ?= ta_arm64 47CFG_NUM_THREADS ?= CFG_TEE_CORE_NB_CORE 48CFG_CORE_HEAP_SIZE ?= 131072 49endif 50 51ifeq ($(PLATFORM_FLAVOR),otx2f95) 52include core/arch/arm/cpu/cortex-armv8-0.mk 53$(call force,CFG_TEE_CORE_NB_CORE,6) 54$(call force,CFG_CLUSTERS_PER_NODE,1) 55$(call force,CFG_TZDRAM_START,0x00001000) 56$(call force,CFG_TZDRAM_SIZE,0x000a00000) 57$(call force,CFG_SHMEM_START,0x01000000) 58$(call force,CFG_SHMEM_SIZE,0x00800000) 59$(call force,CFG_CORE_LARGE_PHYS_ADDR,y) 60$(call force,CFG_CORE_ARM64_PA_BITS,48) 61$(call force,CFG_LPAE_ADDR_SPACE_BITS,36) 62$(call force,CFG_PL011,y) 63$(call force,CFG_ARM_GICV3,y) 64CFG_HW_UNQ_KEY_SUPPORT ?= y 65CFG_USER_TA_TARGETS ?= ta_arm64 66CFG_NUM_THREADS ?= CFG_TEE_CORE_NB_CORE 67CFG_CORE_HEAP_SIZE ?= 131072 68endif 69 70ifeq ($(PLATFORM_FLAVOR),otx2t98) 71include core/arch/arm/cpu/cortex-armv8-0.mk 72$(call force,CFG_TEE_CORE_NB_CORE,36) 73$(call force,CFG_CLUSTERS_PER_NODE,6) 74$(call force,CFG_TZDRAM_START,0x00001000) 75$(call force,CFG_TZDRAM_SIZE,0x000a00000) 76$(call force,CFG_SHMEM_START,0x01000000) 77$(call force,CFG_SHMEM_SIZE,0x00800000) 78$(call force,CFG_CORE_LARGE_PHYS_ADDR,y) 79$(call force,CFG_CORE_ARM64_PA_BITS,48) 80#$(call force,CFG_LPAE_ADDR_SPACE_BITS,36) 81$(call force,CFG_PL011,y) 82$(call force,CFG_ARM_GICV3,y) 83CFG_HW_UNQ_KEY_SUPPORT ?= y 84CFG_USER_TA_TARGETS ?= ta_arm64 85CFG_NUM_THREADS ?= CFG_TEE_CORE_NB_CORE 86CFG_CORE_HEAP_SIZE ?= 131072 87endif 88 89ifeq ($(platform-debugger-arm),1) 90# ARM debugger needs this 91platform-cflags-debug-info = -gdwarf-2 92platform-aflags-debug-info = -gdwarf-2 93endif 94 95$(call force,CFG_WITH_ARM_TRUSTED_FW,y) 96$(call force,CFG_ARM64_core,y) 97$(call force,CFG_GIC,y) 98$(call force,CFG_SECURE_TIME_SOURCE_CNTPCT,y) 99$(call force,CFG_CORE_CLUSTER_SHIFT,1) 100 101CFG_WITH_STATS ?= y 102