xref: /optee_os/core/arch/arm/plat-marvell/conf.mk (revision 93e678ed4b3936844b090b4435e16d35d6709dbe)
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-debugger-arm),1)
33# ARM debugger needs this
34platform-cflags-debug-info = -gdwarf-2
35platform-aflags-debug-info = -gdwarf-2
36endif
37
38$(call force,CFG_WITH_ARM_TRUSTED_FW,y)
39$(call force,CFG_ARM64_core,y)
40$(call force,CFG_GIC,y)
41$(call force,CFG_SECURE_TIME_SOURCE_CNTPCT,y)
42$(call force,CFG_CORE_CLUSTER_SHIFT,1)
43
44ifeq ($(CFG_ARM64_core),y)
45$(call force,CFG_WITH_LPAE,y)
46else
47$(call force,CFG_ARM32_core,y)
48endif
49
50CFG_WITH_STATS ?= y
51