blob: bf9c3ff124fccaf4eedf9e479c6bf27831d33ba0 [file] [log] [blame]
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -08001# top level project rules for the msm8610 project
2#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
5TARGET := msm8610
6
7MODULES += app/aboot
8
9DEBUG := 1
Channagoud Kadabi71bfc452013-08-26 11:47:45 -070010EMMC_BOOT := 1
Channagoud Kadabie92cdb02013-05-09 16:06:30 -070011ENABLE_SDHCI_SUPPORT := 1
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -080012
Matthew Qin52ace622014-03-06 13:38:59 +080013#enable power on vibrator feature
14ENABLE_PON_VIB_SUPPORT := true
Aparna Mallavarapu09feb992014-03-28 17:49:48 +053015ENABLE_PWM_SUPPORT := true
Matthew Qin52ace622014-03-06 13:38:59 +080016
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -080017#DEFINES += WITH_DEBUG_DCC=1
18DEFINES += WITH_DEBUG_UART=1
Channagoud Kadabib8d03d82014-01-16 12:31:39 -080019DEFINES += WITH_DEBUG_LOG_BUF=1
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -080020#DEFINES += WITH_DEBUG_FBCON=1
21DEFINES += DEVICE_TREE=1
22#DEFINES += MMC_BOOT_BAM=1
23#DEFINES += CRYPTO_BAM=1
David Ngcb991b22013-09-27 12:50:37 -070024DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
25
26DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000
27DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000
28DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000
Abhimanyu Kapur0f79d572014-02-19 22:03:02 -080029DEFINES += ABOOT_FORCE_KERNEL64_ADDR=0x00080000
Deepa Dinamani50ac9302013-06-26 15:22:47 -070030
31#Disable thumb mode
32#TODO: The gold linker has issues generating correct
33#thumb interworking code for LK. Confirm that the issue
34#is with the linker and file a bug report.
35ENABLE_THUMB := false
Channagoud Kadabie92cdb02013-05-09 16:06:30 -070036
Matthew Qin52ace622014-03-06 13:38:59 +080037ifeq ($(ENABLE_PON_VIB_SUPPORT),true)
38DEFINES += PON_VIB_SUPPORT=1
39endif
40
Channagoud Kadabie92cdb02013-05-09 16:06:30 -070041ifeq ($(ENABLE_SDHCI_SUPPORT),1)
42DEFINES += MMC_SDHCI_SUPPORT=1
43endif