blob: bf22317451ab41b90071f53a68e28c193b0e32b1 [file] [log] [blame]
Channagoud Kadabic05b7682014-04-14 14:00:47 -07001# top level project rules for the msm8994 project
Channagoud Kadabi3022a2f2014-02-06 13:23:46 -08002#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
Channagoud Kadabic05b7682014-04-14 14:00:47 -07005TARGET := msm8994
Channagoud Kadabi3022a2f2014-02-06 13:23:46 -08006
7MODULES += app/aboot
8
9DEBUG := 1
10EMMC_BOOT := 1
11ENABLE_SDHCI_SUPPORT := 1
12ENABLE_UFS_SUPPORT := 1
Sundarajan Srinivasand598b122014-03-21 17:33:29 -070013ENABLE_BOOT_CONFIG_SUPPORT := 1
Channagoud Kadabi8c9e5b72014-04-22 15:01:42 -070014ENABLE_USB30_SUPPORT := 1
Channagoud Kadabi9e574882014-06-24 16:15:23 -070015USE_DYNAMIC_SMEM := 1
Sundarajan Srinivasan4bc19a32014-07-24 16:40:56 -070016ENABLE_SMD_SUPPORT := 1
Aparna Mallavarapu965fac92014-08-04 22:45:01 +053017ENABLE_PWM_SUPPORT := true
Channagoud Kadabi3022a2f2014-02-06 13:23:46 -080018
19#DEFINES += WITH_DEBUG_DCC=1
20DEFINES += WITH_DEBUG_UART=1
21#DEFINES += WITH_DEBUG_FBCON=1
22DEFINES += DEVICE_TREE=1
23DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
24
Channagoud Kadabi8e23f0a2014-06-05 14:22:27 -070025DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000
Channagoud Kadabi3022a2f2014-02-06 13:23:46 -080026DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000
27DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000
Abhimanyu Kapur0f79d572014-02-19 22:03:02 -080028DEFINES += ABOOT_FORCE_KERNEL64_ADDR=0x00080000
Channagoud Kadabi3022a2f2014-02-06 13:23:46 -080029
Channagoud Kadabic2475e42014-06-26 14:46:43 -070030DEFINES += ENABLE_XPU_VIOLATION=1
31
Channagoud Kadabi3022a2f2014-02-06 13:23:46 -080032#Disable thumb mode
33ENABLE_THUMB := false
34
35ifeq ($(EMMC_BOOT),1)
36DEFINES += _EMMC_BOOT=1
37endif
38
39ifeq ($(ENABLE_SDHCI_SUPPORT),1)
40DEFINES += MMC_SDHCI_SUPPORT=1
41endif
42
43ifeq ($(ENABLE_UFS_SUPPORT),1)
44DEFINES += UFS_SUPPORT=1
45endif
Channagoud Kadabi8c9e5b72014-04-22 15:01:42 -070046
47ifeq ($(ENABLE_USB30_SUPPORT),1)
48DEFINES += USB30_SUPPORT=1
49endif
Channagoud Kadabi9e574882014-06-24 16:15:23 -070050
51ifeq ($(USE_DYNAMIC_SMEM),1)
52DEFINES += DYNAMIC_SMEM=1
53endif
Sundarajan Srinivasan4bc19a32014-07-24 16:40:56 -070054
55ifeq ($(ENABLE_SMD_SUPPORT),1)
56DEFINES += SMD_SUPPORT=1
57endif