blob: a8d5097d3e268b285b53617994f9188eb2b2e596 [file] [log] [blame]
Aparna Mallavarapu01fc3352015-01-19 21:06:16 +05301# top level project rules for the MSM8952 project
2#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
5TARGET := msm8952
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
26#DEFINES += CRYPTO_BAM=1
27DEFINES += SPMI_CORE_V2=1
28DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
29
30DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x80008000
31DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x82000000
32DEFINES += ABOOT_FORCE_TAGS_ADDR=0x81E00000
33DEFINES += ABOOT_FORCE_KERNEL64_ADDR=0x80080000
34
35#DEFINES += BAM_V170=1
36
37#Enable the feature of long press power on
38#DEFINES += LONG_PRESS_POWER_ON=1
39
40#Disable thumb mode
41ENABLE_THUMB := false
42
43#ENABLE_SDHCI_SUPPORT := 1
44
45ifeq ($(ENABLE_SDHCI_SUPPORT),1)
46DEFINES += MMC_SDHCI_SUPPORT=1
47endif
48
49#enable power on vibrator feature
50#ENABLE_PON_VIB_SUPPORT := true
51
52ifeq ($(EMMC_BOOT),1)
53DEFINES += _EMMC_BOOT=1
54endif
55
56ifeq ($(ENABLE_PON_VIB_SUPPORT),true)
57DEFINES += PON_VIB_SUPPORT=1
58endif
59
60ifeq ($(ENABLE_SMD_SUPPORT),1)
61DEFINES += SMD_SUPPORT=1
62endif
63
64#SCM call before entering DLOAD mode
65DEFINES += PLATFORM_USE_SCM_DLOAD=1