blob: 2ffb029eec238a847647581048820e17900ae436 [file] [log] [blame]
Unnati Gandhib2eaaa52014-07-07 11:34:37 +05301# top level project rules for the ferrum project
2#
3LOCAL_DIR := $(GET_LOCAL_DIR)
4
5TARGET := ferrum
6
7MODULES += app/aboot
8
9DEBUG := 1
10EMMC_BOOT := 1
11
12#DEFINES += WITH_DEBUG_DCC=1
13DEFINES += WITH_DEBUG_UART=1
14#DEFINES += WITH_DEBUG_FBCON=1
15DEFINES += DEVICE_TREE=1
16#DEFINES += MMC_BOOT_BAM=1
17#DEFINES += CRYPTO_BAM=1
18#DEFINES += ABOOT_IGNORE_BOOT_HEADER_ADDRS=1
19
20#DEFINES += ABOOT_FORCE_KERNEL_ADDR=0x80008000
21#DEFINES += ABOOT_FORCE_RAMDISK_ADDR=0x82000000
22#DEFINES += ABOOT_FORCE_TAGS_ADDR=0x81E00000
23
24#Disable thumb mode
25ENABLE_THUMB := false
26
Unnati Gandhidd5a2ab2014-07-15 23:20:30 +053027ENABLE_SDHCI_SUPPORT := 1
28
29ifeq ($(ENABLE_SDHCI_SUPPORT),1)
30DEFINES += MMC_SDHCI_SUPPORT=1
31endif
32
Unnati Gandhib2eaaa52014-07-07 11:34:37 +053033ifeq ($(EMMC_BOOT),1)
34DEFINES += _EMMC_BOOT=1
35endif