blob: d4b6c285372f17ec539c87a5ce10efca184ec7d0 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001LOCAL_DIR := $(GET_LOCAL_DIR)
2MODULE := ${LOCAL_DIR}
3
4GLOBAL_INCLUDES += \
5 $(LOCAL_DIR)/include
6
7MODULE_SRCS += \
8 $(LOCAL_DIR)/target.c
9
10PLATFORM := mediatek
11MTK_PLATFORM := mt2712
12DRAM_TYPE := LPDDR4
13
14SRC_CLOCK := 26000000
15
16TZ_PART_NAME := TEE1
17RECOVERY_TZ_PART_NAME = TEE1
18DTBO_PART_NAME := DTBO
19BOOT_PART_NAME := BOOTIMG
20RECOVERY_BOOT_PART_NAME = RECOVERY
21
22GLOBAL_CFLAGS += -DTZ_PART_NAME=\"$(TZ_PART_NAME)\" \
23 -DDTBO_PART_NAME=\"$(DTBO_PART_NAME)\" \
24 -DBOOT_PART_NAME=\"$(BOOT_PART_NAME)\" \
25 -DRECOVERY_BOOT_PART_NAME=\"$(RECOVERY_BOOT_PART_NAME)\" \
26 -DRECOVERY_TZ_PART_NAME=\"$(RECOVERY_TZ_PART_NAME)\" \
27 -DDRAM_TYPE=\"$(DRAM_TYPE)\" \
28 -DSRC_CLOCK=$(SRC_CLOCK) \
29
30MODULE_DEPS += \
31 platform/$(PLATFORM)/$(MTK_PLATFORM)/drivers/nand \
32
33include make/module.mk