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 | 9ce95c4 | 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 | 9ce95c4 | 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 |
Gururaj Rao | 044f49b | 2014-04-08 19:18:40 +0530 | [diff] [blame] | 16 | ENABLE_SDHCI_SUPPORT := 1 |
V S Ramanjaneya Kumar T | 713be57 | 2013-08-02 11:00:10 +0530 | [diff] [blame] | 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 |
V S Ramanjaneya Kumar T | 713be57 | 2013-08-02 11:00:10 +0530 | [diff] [blame] | 25 | |
| 26 | #Disable thumb mode |
| 27 | ENABLE_THUMB := false |
| 28 | |
| 29 | DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000 |
| 30 | DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000 |
| 31 | DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000 |
Abhimanyu Kapur | 0f79d57 | 2014-02-19 22:03:02 -0800 | [diff] [blame] | 32 | DEFINES += ABOOT_FORCE_KERNEL64_ADDR=0x00080000 |
V S Ramanjaneya Kumar T | 713be57 | 2013-08-02 11:00:10 +0530 | [diff] [blame] | 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 |