blob: 0f91c5326c5f4fb5597f1703066bd0e3314e5fe4 [file] [log] [blame]
V S Ramanjaneya Kumar T713be572013-08-02 11:00:10 +05301# top level project rules for the fsm9900 project
2#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
5TARGET := fsm9900
6
7MODULES += app/aboot
8
Sridhar Parasuram9ce95c42014-11-19 16:24:55 -08009ifeq ($(TARGET_BUILD_VARIANT),user)
10DEBUG := 0
11else
V S Ramanjaneya Kumar T713be572013-08-02 11:00:10 +053012DEBUG := 1
Sridhar Parasuram9ce95c42014-11-19 16:24:55 -080013endif
14
V S Ramanjaneya Kumar T713be572013-08-02 11:00:10 +053015EMMC_BOOT := 1
Gururaj Rao044f49b2014-04-08 19:18:40 +053016ENABLE_SDHCI_SUPPORT := 1
V S Ramanjaneya Kumar T713be572013-08-02 11:00:10 +053017
V S Ramanjaneya Kumar Tc1945892013-08-27 11:39:53 +053018DEFINES += WITH_DEBUG_DCC=1
V S Ramanjaneya Kumar T713be572013-08-02 11:00:10 +053019DEFINES += WITH_DEBUG_UART=1
20#DEFINES += WITH_DEBUG_FBCON=1
21DEFINES += DEVICE_TREE=1
22#DEFINES += MMC_BOOT_BAM=1
23DEFINES += CRYPTO_BAM=1
24DEFINES += CRYPTO_REG_ACCESS=1
V S Ramanjaneya Kumar T713be572013-08-02 11:00:10 +053025
26#Disable thumb mode
27ENABLE_THUMB := false
28
29DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000
30DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000
31DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000
Abhimanyu Kapur0f79d572014-02-19 22:03:02 -080032DEFINES += ABOOT_FORCE_KERNEL64_ADDR=0x00080000
V S Ramanjaneya Kumar T713be572013-08-02 11:00:10 +053033
34ifeq ($(EMMC_BOOT),1)
35DEFINES += _EMMC_BOOT=1
36endif
37
38ifeq ($(ENABLE_SDHCI_SUPPORT),1)
39DEFINES += MMC_SDHCI_SUPPORT=1
40endif