blob: 5f9e4fb3b97e992eb7f0bed22563444f51ead9df [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# main project for aiv8133m1
2ARCH := arm64
3ARM_CPU := cortex-a53
4TARGET := aiv8133m1
5WITH_KERNEL_VM := 1
6WITH_LINKER_GC := 1
7
8# buffer size used by fastboot to load images
9SCRATCH_SIZE ?= 0x01000000 # 16MB
10# the maximum dram size for TEE loaded from stroage
11MAX_TEE_DRAM_SIZE ?= 0x01000000 # 16MB
12# the maximum dram size for KERNEL loaded from stroage
13MAX_KERNEL_SIZE ?= 0x01000000 # 16MB
14
15BOOTAPP := blxboot
16ENABLE_BL33_LOAD := 1
17ENABLE_BUILTIN_BL33 := 1
18LK_AS_BL33 := 0
19
20# arch for lz4 compression lib
21GLOBAL_DEFINES += \
22 LZ4_ARCH64=1 \
23
24LK_HEAP_IMPLEMENTATION=miniheap
25
26#image ab slot definition, override app/blxboot/images_ab_config_def.mk
27#When XX_HAS_SLOT == 1, blxboot will append suffix to the XX partition name.
28TZ_HAS_SLOT := 1
29BOOT_HAS_SLOT := 1
30
31GLOBAL_CFLAGS += -DTZ_HAS_SLOT=\"$(TZ_HAS_SLOT)\"
32 -DBOOT_HAS_SLOT=\"$(BOOT_HAS_SLOT)\"