1PLATFORM_FLAVOR ?= mt8173 2 3include core/arch/arm/cpu/cortex-armv8-0.mk 4 5# 32-bit flags 6arm32-platform-aflags += -mfpu=neon 7 8$(call force,CFG_8250_UART,y) 9$(call force,CFG_GENERIC_BOOT,y) 10$(call force,CFG_PM_STUBS,y) 11$(call force,CFG_SECURE_TIME_SOURCE_CNTPCT,y) 12$(call force,CFG_WITH_ARM_TRUSTED_FW,y) 13 14ta-targets = ta_arm32 15 16ifeq ($(CFG_ARM64_core),y) 17$(call force,CFG_WITH_LPAE,y) 18ta-targets += ta_arm64 19else 20$(call force,CFG_ARM32_core,y) 21endif 22 23CFG_WITH_STACK_CANARIES ?= y 24 25ifeq ($(PLATFORM_FLAVOR),mt8173) 26# 2**1 = 2 cores per cluster 27$(call force,CFG_CORE_CLUSTER_SHIFT,1) 28endif 29