1PLATFORM_FLAVOR ?= bpi_zero 2 3$(call force,CFG_SECURE_TIME_SOURCE_CNTPCT,y) 4$(call force,CFG_8250_UART,y) 5 6ifeq ($(PLATFORM_FLAVOR),bpi_zero) 7include core/arch/arm/cpu/cortex-a7.mk 8$(call force,CFG_SUN8I_H2_PLUS,y) 9$(call force,CFG_ARM32_core,y) 10$(call force,CFG_GIC,y) 11$(call force,CFG_WITH_LPAE,n) 12$(call force,CFG_WITH_PAGER,n) 13 14CFG_CRYPTO_SIZE_OPTIMIZATION ?= n 15CFG_NUM_THREADS ?= 4 16CFG_TEE_CORE_NB_CORE ?= 4 17CFG_BOOT_SECONDARY_REQUEST ?= y 18CFG_PSCI_ARM32 ?= y 19CFG_NS_ENTRY_ADDR ?= 0x42000000 20CFG_DT ?= y 21CFG_INIT_CNTVOFF ?= y 22CFG_SECONDARY_INIT_CNTFRQ ?= y 23CFG_TZDRAM_START ?= 0x5c000000 24CFG_TZDRAM_SIZE ?= 0x03e00000 25CFG_SHMEM_START ?= 0x5fe00000 26CFG_SHMEM_SIZE ?= 0x00200000 27endif 28 29ifeq ($(PLATFORM_FLAVOR),sun50i_a64) 30include core/arch/arm/cpu/cortex-armv8-0.mk 31$(call force,CFG_ARM64_core,y) 32 33CFG_TZDRAM_START ?= 0x40000000 34CFG_TZDRAM_SIZE ?= 0x2000000 35CFG_SHMEM_START ?= 0x44000000 36CFG_SHMEM_SIZE ?= 0x00400000 37CFG_TEE_CORE_NB_CORE ?= 4 38CFG_TZC380 ?= y 39endif 40 41ifeq ($(platform-flavor-armv8),1) 42$(call force,CFG_WITH_ARM_TRUSTED_FW,y) 43endif 44 45CFG_WITH_STATS ?= y 46