1ifneq (,$(filter ${PLATFORM_FLAVOR},tc0 tc1 tc2)) 2include core/arch/arm/cpu/cortex-armv8-0.mk 3platform-debugger-arm := 1 4endif 5 6$(call force,CFG_WITH_ARM_TRUSTED_FW,y) 7$(call force,CFG_GENERIC_BOOT,y) 8ifeq ($(CFG_CORE_SEL2_SPMC),y) 9$(call force,CFG_GIC,n) 10$(call force,CFG_ARM_GICV3,n) 11else 12$(call force,CFG_GIC,y) 13$(call force,CFG_ARM_GICV3,y) 14endif 15$(call force,CFG_PL011,y) 16$(call force,CFG_PM_STUBS,y) 17$(call force,CFG_SECURE_TIME_SOURCE_CNTPCT,y) 18$(call force,CFG_ARM64_core,y) 19 20ifeq ($(platform-debugger-arm),1) 21# ARM debugger needs this 22platform-cflags-debug-info = -gdwarf-2 23platform-aflags-debug-info = -gdwarf-2 24endif 25 26$(call force,CFG_CORE_ARM64_PA_BITS,40) 27 28ifneq (,$(filter ${PLATFORM_FLAVOR},tc0 tc1 tc2)) 29CFG_TEE_CORE_NB_CORE = 8 30 31ifeq ($(CFG_CORE_SEL1_SPMC),y) 32CFG_TZDRAM_START ?= 0xfd000000 33CFG_TZDRAM_SIZE ?= 0x02000000 34else ifeq ($(CFG_CORE_SEL2_SPMC),y) 35CFG_TZDRAM_START ?= 0xfd281000 36CFG_TZDRAM_SIZE ?= 0x01d7f000 37else 38CFG_TZDRAM_START ?= 0xff000000 39CFG_TZDRAM_SIZE ?= 0x01000000 40endif 41 42CFG_SHMEM_START ?= 0xfce00000 43CFG_SHMEM_SIZE ?= 0x00200000 44endif 45