1ifneq (,$(filter ${PLATFORM_FLAVOR},tc0 tc1)) 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$(call force,CFG_WITH_LPAE,y) 20 21ifeq ($(platform-debugger-arm),1) 22# ARM debugger needs this 23platform-cflags-debug-info = -gdwarf-2 24platform-aflags-debug-info = -gdwarf-2 25endif 26 27$(call force,CFG_CORE_ARM64_PA_BITS,40) 28 29ifneq (,$(filter ${PLATFORM_FLAVOR},tc0 tc1)) 30CFG_TEE_CORE_NB_CORE = 8 31 32ifeq ($(CFG_CORE_SEL1_SPMC),y) 33CFG_TZDRAM_START ?= 0xfd000000 34CFG_TZDRAM_SIZE ?= 0x02000000 35else ifeq ($(CFG_CORE_SEL2_SPMC),y) 36CFG_TZDRAM_START ?= 0xfd281000 37CFG_TZDRAM_SIZE ?= 0x01d7f000 38else 39CFG_TZDRAM_START ?= 0xff000000 40CFG_TZDRAM_SIZE ?= 0x01000000 41endif 42 43CFG_SHMEM_START ?= 0xfce00000 44CFG_SHMEM_SIZE ?= 0x00200000 45endif 46