Channagoud Kadabi | c05b768 | 2014-04-14 14:00:47 -0700 | [diff] [blame] | 1 | # top level project rules for the msm8994 project |
Channagoud Kadabi | 3022a2f | 2014-02-06 13:23:46 -0800 | [diff] [blame] | 2 | # |
| 3 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 4 | |
Channagoud Kadabi | c05b768 | 2014-04-14 14:00:47 -0700 | [diff] [blame] | 5 | TARGET := msm8994 |
Channagoud Kadabi | 3022a2f | 2014-02-06 13:23:46 -0800 | [diff] [blame] | 6 | |
| 7 | MODULES += app/aboot |
| 8 | |
| 9 | DEBUG := 1 |
| 10 | EMMC_BOOT := 1 |
| 11 | ENABLE_SDHCI_SUPPORT := 1 |
| 12 | ENABLE_UFS_SUPPORT := 1 |
Sundarajan Srinivasan | d598b12 | 2014-03-21 17:33:29 -0700 | [diff] [blame] | 13 | ENABLE_BOOT_CONFIG_SUPPORT := 1 |
Channagoud Kadabi | 8c9e5b7 | 2014-04-22 15:01:42 -0700 | [diff] [blame] | 14 | ENABLE_USB30_SUPPORT := 1 |
Channagoud Kadabi | 3022a2f | 2014-02-06 13:23:46 -0800 | [diff] [blame] | 15 | |
| 16 | #DEFINES += WITH_DEBUG_DCC=1 |
| 17 | DEFINES += WITH_DEBUG_UART=1 |
| 18 | #DEFINES += WITH_DEBUG_FBCON=1 |
| 19 | DEFINES += DEVICE_TREE=1 |
| 20 | DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1 |
| 21 | |
Channagoud Kadabi | 8e23f0a | 2014-06-05 14:22:27 -0700 | [diff] [blame^] | 22 | DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000 |
Channagoud Kadabi | 3022a2f | 2014-02-06 13:23:46 -0800 | [diff] [blame] | 23 | DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000 |
| 24 | DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000 |
Abhimanyu Kapur | 0f79d57 | 2014-02-19 22:03:02 -0800 | [diff] [blame] | 25 | DEFINES += ABOOT_FORCE_KERNEL64_ADDR=0x00080000 |
Channagoud Kadabi | 3022a2f | 2014-02-06 13:23:46 -0800 | [diff] [blame] | 26 | |
| 27 | #Disable thumb mode |
| 28 | ENABLE_THUMB := false |
| 29 | |
| 30 | ifeq ($(EMMC_BOOT),1) |
| 31 | DEFINES += _EMMC_BOOT=1 |
| 32 | endif |
| 33 | |
| 34 | ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| 35 | DEFINES += MMC_SDHCI_SUPPORT=1 |
| 36 | endif |
| 37 | |
| 38 | ifeq ($(ENABLE_UFS_SUPPORT),1) |
| 39 | DEFINES += UFS_SUPPORT=1 |
| 40 | endif |
Channagoud Kadabi | 8c9e5b7 | 2014-04-22 15:01:42 -0700 | [diff] [blame] | 41 | |
| 42 | ifeq ($(ENABLE_USB30_SUPPORT),1) |
| 43 | DEFINES += USB30_SUPPORT=1 |
| 44 | endif |