project: msmtitanium: Enable flags related to verified boot for M and MOTA
Enable flags for verified boot, RPMB and FBCON display support.
Change-Id: Ib570881514adac08cc882c76d797c0b778f212a4
diff --git a/project/msmtitanium.mk b/project/msmtitanium.mk
old mode 100755
new mode 100644
index 75a9f7e..5574e49
--- a/project/msmtitanium.mk
+++ b/project/msmtitanium.mk
@@ -13,7 +13,17 @@
endif
EMMC_BOOT := 1
+
+ifeq ($(VERIFIED_BOOT),1)
+ifeq ($(ENABLE_VBOOT_MOTA_SUPPORT),1)
+DEFINES += VBOOT_MOTA=1
+else
ENABLE_SECAPP_LOADER := 1
+ENABLE_RPMB_SUPPORT := 1
+#enable fbcon display menu
+ENABLE_FBCON_DISPLAY_MSG := 1
+endif
+endif
ENABLE_SMD_SUPPORT := 1
#ENABLE_PWM_SUPPORT := true
@@ -33,6 +43,10 @@
#Enable the feature of long press power on
DEFINES += LONG_PRESS_POWER_ON=1
+ifeq ($(ENABLE_RPMB_SUPPORT),1)
+DEFINES += USE_RPMB_FOR_DEVINFO=1
+endif
+
#Disable thumb mode
ENABLE_THUMB := false
@@ -43,6 +57,10 @@
DEFINES += MMC_SDHCI_SUPPORT=1
endif
+ifeq ($(ENABLE_FBCON_DISPLAY_MSG),1)
+DEFINES += FBCON_DISPLAY_MSG=1
+endif
+
#enable power on vibrator feature
ENABLE_HAP_VIB_SUPPORT := true