1PLATFORM_FLAVOR ?= sama5d27_som1_ek 2 3flavor_dts_file-sama5d2xult = at91-sama5d2_xplained.dts 4flavor_dts_file-sama5d2_xplained = at91-sama5d2_xplained.dts 5flavor_dts_file-sama5d27_som1_ek = at91-sama5d27_som1_ek.dts 6 7ifeq ($(PLATFORM_FLAVOR),sama5d2xult) 8$(warning "sama5d2xult is deprecated, please use sama5d2_xplained") 9endif 10 11ifeq ($(flavor_dts_file-$(PLATFORM_FLAVOR)),) 12$(error Invalid platform flavor $(PLATFORM_FLAVOR)) 13endif 14CFG_EMBED_DTB_SOURCE_FILE ?= $(flavor_dts_file-$(PLATFORM_FLAVOR)) 15 16include core/arch/arm/cpu/cortex-a5.mk 17 18$(call force,CFG_TEE_CORE_NB_CORE,1) 19$(call force,CFG_ATMEL_UART,y) 20$(call force,CFG_SECURE_TIME_SOURCE_REE,y) 21$(call force,CFG_NO_SMP,y) 22$(call force,CFG_PL310,y) 23$(call force,CFG_PL310_LOCKED,y) 24$(call force,CFG_AT91_MATRIX,y) 25 26# These values are forced because of matrix configuration for secure area. 27# When modifying these, always update matrix settings in 28# matrix_configure_slave_h64mx(). 29$(call force,CFG_TZDRAM_START,0x20000000) 30$(call force,CFG_TZDRAM_SIZE,0x800000) 31 32CFG_SHMEM_START ?= 0x21000000 33CFG_SHMEM_SIZE ?= 0x400000 34 35CFG_TEE_RAM_VA_SIZE ?= 0x100000 36 37# Device tree related configuration 38CFG_DT_ADDR ?= 0x21500000 39CFG_GENERATE_DTB_OVERLAY ?= y 40