Deepa Dinamani | b9a5720 | 2012-12-20 18:05:11 -0800 | [diff] [blame] | 1 | # top level project rules for the msm8974 project |
Deepa Dinamani | 7d6c897 | 2011-12-14 15:16:56 -0800 | [diff] [blame] | 2 | # |
| 3 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 4 | |
Channagoud Kadabi | 49c6696 | 2013-01-28 13:39:27 -0800 | [diff] [blame] | 5 | TARGET := msm8974 |
Deepa Dinamani | 7d6c897 | 2011-12-14 15:16:56 -0800 | [diff] [blame] | 6 | |
| 7 | MODULES += app/aboot |
| 8 | |
| 9 | DEBUG := 1 |
Dima Zavin | ac72d27 | 2013-03-06 15:13:55 -0800 | [diff] [blame] | 10 | EMMC_BOOT := 1 |
Channagoud Kadabi | 3e4eca6 | 2013-04-22 14:06:42 -0700 | [diff] [blame] | 11 | ENABLE_SDHCI_SUPPORT := 0 |
Deepa Dinamani | 7d6c897 | 2011-12-14 15:16:56 -0800 | [diff] [blame] | 12 | |
| 13 | #DEFINES += WITH_DEBUG_DCC=1 |
Neeti Desai | ac01127 | 2012-08-29 18:24:54 -0700 | [diff] [blame] | 14 | DEFINES += WITH_DEBUG_UART=1 |
Deepa Dinamani | 7d6c897 | 2011-12-14 15:16:56 -0800 | [diff] [blame] | 15 | #DEFINES += WITH_DEBUG_FBCON=1 |
Neeti Desai | 465491e | 2012-07-31 12:53:35 -0700 | [diff] [blame] | 16 | DEFINES += DEVICE_TREE=1 |
Deepa Dinamani | b073ba2 | 2012-08-10 11:06:41 -0700 | [diff] [blame] | 17 | #DEFINES += MMC_BOOT_BAM=1 |
Deepa Dinamani | b9a5720 | 2012-12-20 18:05:11 -0800 | [diff] [blame] | 18 | DEFINES += CRYPTO_BAM=1 |
Channagoud Kadabi | c82c09f | 2013-04-26 17:29:43 -0700 | [diff] [blame] | 19 | DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1 |
Amol Jadi | 4b285ae | 2013-03-08 09:16:40 -0800 | [diff] [blame] | 20 | |
| 21 | #Disable thumb mode |
| 22 | ENABLE_THUMB := false |
Dima Zavin | ac72d27 | 2013-03-06 15:13:55 -0800 | [diff] [blame] | 23 | |
Dima Zavin | bc39b78 | 2013-03-06 15:15:12 -0800 | [diff] [blame] | 24 | DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000 |
| 25 | DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000 |
| 26 | DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000 |
| 27 | |
Dima Zavin | ac72d27 | 2013-03-06 15:13:55 -0800 | [diff] [blame] | 28 | ifeq ($(EMMC_BOOT),1) |
| 29 | DEFINES += _EMMC_BOOT=1 |
| 30 | endif |
Channagoud Kadabi | 3e4eca6 | 2013-04-22 14:06:42 -0700 | [diff] [blame] | 31 | |
| 32 | ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| 33 | DEFINES += MMC_SDHCI_SUPPORT=1 |
| 34 | endif |