xref: /optee_os/core/arch/arm/plat-automotive_rd/conf.mk (revision 0960b6765c51598643bdb226a3bfaeab1b0e608f)
1PLATFORM_FLAVOR ?= rdaspen
2
3ifeq ($(PLATFORM_FLAVOR),rd1ae)
4# RD-1 AE is based on Neoverse V3AE CPU, but there is
5# no compiler support for it yet. Use Neoverse V2 until
6# it becomes available.
7include core/arch/arm/cpu/neoverse-v2.mk
8
9endif
10
11ifeq ($(PLATFORM_FLAVOR),rdaspen)
12# RD-Aspen is based on Cortex-A720AE.
13# Cortex-A720AE is not supported in GCC 14.2, hence using Cortex-A720 instead.
14# TODO: Update this once the GCC supports cpu variant Cortex-A720AE.
15arm32-platform-cpuarch			:= cortex-a720
16arm64-platform-cpuarch			:= cortex-a720
17include core/arch/arm/cpu/cortex-armv9.mk
18
19CFG_CORE_CLUSTER_SHIFT			:= 2
20CFG_CORE_THREAD_SHIFT			:= 0
21endif
22
23# ARM debugger needs this
24platform-cflags-debug-info		= -gdwarf-4
25platform-aflags-debug-info		= -gdwarf-4
26
27CFG_CORE_HEAP_SIZE			?= 0x32000
28CFG_CORE_RESERVED_SHM			?= n
29CFG_CORE_SEL1_SPMC			?= y
30CFG_TZDRAM_SIZE				?= 0x00400000
31CFG_TZDRAM_START			?= 0xFFC00000
32CFG_WITH_ARM_TRUSTED_FW			?= y
33
34$(call force,CFG_ARM64_core,y)
35$(call force,CFG_ARM_GICV3,y)
36$(call force,CFG_GIC,y)
37$(call force,CFG_CORE_ARM64_PA_BITS,42)
38$(call force,CFG_PL011,y)
39$(call force,CFG_SECURE_TIME_SOURCE_CNTPCT,y)
40$(call force,CFG_TEE_CORE_NB_CORE,16)
41