V S Ramanjaneya Kumar T | 713be57 | 2013-08-02 11:00:10 +0530 | [diff] [blame] | 1 | # top level project rules for the fsm9900 project |
| 2 | # |
| 3 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 4 | |
| 5 | TARGET := fsm9900 |
| 6 | |
| 7 | MODULES += app/aboot |
| 8 | |
Sridhar Parasuram | ffe00db | 2014-11-19 16:24:55 -0800 | [diff] [blame] | 9 | ifeq ($(TARGET_BUILD_VARIANT),user) |
| 10 | DEBUG := 0 |
| 11 | else |
V S Ramanjaneya Kumar T | 713be57 | 2013-08-02 11:00:10 +0530 | [diff] [blame] | 12 | DEBUG := 1 |
Sridhar Parasuram | ffe00db | 2014-11-19 16:24:55 -0800 | [diff] [blame] | 13 | endif |
| 14 | |
V S Ramanjaneya Kumar T | 713be57 | 2013-08-02 11:00:10 +0530 | [diff] [blame] | 15 | EMMC_BOOT := 1 |
| 16 | ENABLE_SDHCI_SUPPORT := 0 |
| 17 | |
V S Ramanjaneya Kumar T | c194589 | 2013-08-27 11:39:53 +0530 | [diff] [blame] | 18 | DEFINES += WITH_DEBUG_DCC=1 |
V S Ramanjaneya Kumar T | 713be57 | 2013-08-02 11:00:10 +0530 | [diff] [blame] | 19 | DEFINES += WITH_DEBUG_UART=1 |
| 20 | #DEFINES += WITH_DEBUG_FBCON=1 |
| 21 | DEFINES += DEVICE_TREE=1 |
| 22 | #DEFINES += MMC_BOOT_BAM=1 |
| 23 | DEFINES += CRYPTO_BAM=1 |
| 24 | DEFINES += CRYPTO_REG_ACCESS=1 |
| 25 | DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1 |
| 26 | |
| 27 | #Disable thumb mode |
| 28 | ENABLE_THUMB := false |
| 29 | |
| 30 | DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000 |
| 31 | DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000 |
| 32 | DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000 |
| 33 | |
| 34 | ifeq ($(EMMC_BOOT),1) |
| 35 | DEFINES += _EMMC_BOOT=1 |
| 36 | endif |
| 37 | |
| 38 | ifeq ($(ENABLE_SDHCI_SUPPORT),1) |
| 39 | DEFINES += MMC_SDHCI_SUPPORT=1 |
| 40 | endif |