blob: bdd295cc5dace010b1e29461c30cefc5213f683a [file] [log] [blame]
# partition definition of auto2712 android project
TZ_PART_NAME := tee
RECOVERY_TZ_PART_NAME = tee
DTBO_PART_NAME := dtbo
VPD_PART_NAME := vpd
RECOVERY_VPD_PART_NAME := vpd
BOOT_PART_NAME := boot
ROOTFS_PART_NAME := system
RECOVERY_BOOT_PART_NAME = boot
BL33_PART_NAME := bl33
RECOVERY_BL33_PART_NAME := bl33
SLAVE_CPU_PART_NAME := adsp
RECOVERY_SLAVE_CPU_PART_NAME := adsp
SCPSYS_PART_NAME := scpsys
RECOVERY_SCPSYS_PART_NAME := scpsys
SCPDATA_PART_NAME := scpdata
RECOVERY_SCPDATA_PART_NAME := scpdata
SCPCFG_PART_NAME := scpcfg
RECOVERY_SCPCFG_PART_NAME := scpcfg
# image ab slot definition, override app/blxboot/images_ab_config_def.mk
# When XX_HAS_SLOT == 1, blxboot will append suffix to the XX partition name.
TZ_HAS_SLOT := 1
BL33_HAS_SLOT := 1
SLAVE_CPU_HAS_SLOT := 1
BOOT_HAS_SLOT := 1
SCPSYS_HAS_SLOT := 1
DTBO_HAS_SLOT := 1
GLOBAL_CFLAGS += -DTZ_PART_NAME=\"$(TZ_PART_NAME)\" \
-DDTBO_PART_NAME=\"$(DTBO_PART_NAME)\" \
-DVPD_PART_NAME=\"$(VPD_PART_NAME)\" \
-DRECOVERY_VPD_PART_NAME=\"$(RECOVERY_VPD_PART_NAME)\" \
-DBOOT_PART_NAME=\"$(BOOT_PART_NAME)\" \
-DROOTFS_PART_NAME=\"$(ROOTFS_PART_NAME)\" \
-DRECOVERY_BOOT_PART_NAME=\"$(RECOVERY_BOOT_PART_NAME)\" \
-DRECOVERY_TZ_PART_NAME=\"$(RECOVERY_TZ_PART_NAME)\" \
-DBL33_PART_NAME=\"$(BL33_PART_NAME)\" \
-DRECOVERY_BL33_PART_NAME=\"$(RECOVERY_BL33_PART_NAME)\" \
-DSLAVE_CPU_PART_NAME=\"$(SLAVE_CPU_PART_NAME)\" \
-DRECOVERY_SLAVE_CPU_PART_NAME=\"$(RECOVERY_SLAVE_CPU_PART_NAME)\" \
-DSCPSYS_PART_NAME=\"$(SCPSYS_PART_NAME)\" \
-DRECOVERY_SCPSYS_PART_NAME=\"$(RECOVERY_SCPSYS_PART_NAME)\" \
-DSCPDATA_PART_NAME=\"$(SCPDATA_PART_NAME)\" \
-DRECOVERY_SCPDATA_PART_NAME=\"$(RECOVERY_SCPDATA_PART_NAME)\" \
-DSCPCFG_PART_NAME=\"$(SCPCFG_PART_NAME)\" \
-DRECOVERY_SCPCFG_PART_NAME=\"$(RECOVERY_SCPCFG_PART_NAME)\"