blob: 50531ec120ecb79fcf28413b748edd781c10ed39 [file] [log] [blame]
Aparna Mallavarapud5533832015-06-01 20:46:46 +05301# top level project rules for the MSMTITANIUM project
2#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
5TARGET := msmtitanium
6
7MODULES += app/aboot
8
9ifeq ($(TARGET_BUILD_VARIANT),user)
10DEBUG := 0
11else
12DEBUG := 1
13endif
14
15EMMC_BOOT := 1
16
17#ENABLE_SMD_SUPPORT := 1
18#ENABLE_PWM_SUPPORT := true
19
20#DEFINES += WITH_DEBUG_DCC=1
21DEFINES += WITH_DEBUG_LOG_BUF=1
22DEFINES += WITH_DEBUG_UART=1
23#DEFINES += WITH_DEBUG_FBCON=1
24DEFINES += DEVICE_TREE=1
25#DEFINES += MMC_BOOT_BAM=1
26DEFINES += CRYPTO_BAM=1
27DEFINES += SPMI_CORE_V2=1
28DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
29
30DEFINES += BAM_V170=1
31
32#Enable the feature of long press power on
33#DEFINES += LONG_PRESS_POWER_ON=1
34
35#Disable thumb mode
36ENABLE_THUMB := false
37
38ENABLE_SDHCI_SUPPORT := 0
39ENABLE_USB30_SUPPORT := 1
40
41ifeq ($(ENABLE_SDHCI_SUPPORT),1)
42DEFINES += MMC_SDHCI_SUPPORT=1
43endif
44
45#enable power on vibrator feature
46#ENABLE_PON_VIB_SUPPORT := true
47
48ifeq ($(EMMC_BOOT),1)
49DEFINES += _EMMC_BOOT=1
50endif
51
52ifeq ($(ENABLE_PON_VIB_SUPPORT),true)
53DEFINES += PON_VIB_SUPPORT=1
54endif
55
56ifeq ($(ENABLE_SMD_SUPPORT),1)
57DEFINES += SMD_SUPPORT=1
58endif
59
60ifeq ($(ENABLE_USB30_SUPPORT),1)
61DEFINES += USB30_SUPPORT=1
62endif
63
64#SCM call before entering DLOAD mode
65DEFINES += PLATFORM_USE_SCM_DLOAD=1
66
67#CFLAGS += -Werror
68
69DEFINES += USE_TARGET_HS200_DELAY=1
70
71#Enable the external reboot functions
72ENABLE_REBOOT_MODULE := 1