blob: 2adb24233440adfa5055b25d32c2b7841df159ef [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 Parasuramffe00db2014-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 Parasuramffe00db2014-11-19 16:24:55 -080013endif
14
V S Ramanjaneya Kumar T713be572013-08-02 11:00:10 +053015EMMC_BOOT := 1
16ENABLE_SDHCI_SUPPORT := 0
17
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
25DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
26
27#Disable thumb mode
28ENABLE_THUMB := false
29
30DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x00008000
31DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x02000000
32DEFINES += ABOOT_FORCE_TAGS_ADDR=0x01e00000
33
34ifeq ($(EMMC_BOOT),1)
35DEFINES += _EMMC_BOOT=1
36endif
37
38ifeq ($(ENABLE_SDHCI_SUPPORT),1)
39DEFINES += MMC_SDHCI_SUPPORT=1
40endif