blob: 03c15ea6f3d3c7612ccb7a0c7540aa9054a1d2ee [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
15
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -080016#DEFINES += WITH_DEBUG_DCC=1
17DEFINES += WITH_DEBUG_UART=1
Channagoud Kadabib8d03d82014-01-16 12:31:39 -080018DEFINES += WITH_DEBUG_LOG_BUF=1
Deepa Dinamani7dc3d4b2013-02-08 16:40:38 -080019#DEFINES += WITH_DEBUG_FBCON=1
20DEFINES += DEVICE_TREE=1
21#DEFINES += MMC_BOOT_BAM=1
22#DEFINES += CRYPTO_BAM=1
David Ngcb991b22013-09-27 12:50:37 -070023DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
24
25DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000
26DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000
27DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000
Abhimanyu Kapur0f79d572014-02-19 22:03:02 -080028DEFINES += ABOOT_FORCE_KERNEL64_ADDR=0x00080000
Deepa Dinamani50ac9302013-06-26 15:22:47 -070029
30#Disable thumb mode
31#TODO: The gold linker has issues generating correct
32#thumb interworking code for LK. Confirm that the issue
33#is with the linker and file a bug report.
34ENABLE_THUMB := false
Channagoud Kadabie92cdb02013-05-09 16:06:30 -070035
Matthew Qin52ace622014-03-06 13:38:59 +080036ifeq ($(ENABLE_PON_VIB_SUPPORT),true)
37DEFINES += PON_VIB_SUPPORT=1
38endif
39
Channagoud Kadabie92cdb02013-05-09 16:06:30 -070040ifeq ($(ENABLE_SDHCI_SUPPORT),1)
41DEFINES += MMC_SDHCI_SUPPORT=1
42endif