blob: 0f6a21f810f1bedee785ebe267fbebe01422bb21 [file] [log] [blame]
Deepa Dinamani7d6c8972011-12-14 15:16:56 -08001LOCAL_DIR := $(GET_LOCAL_DIR)
2
3INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared
4
5PLATFORM := copper
6
Deepa Dinamani81eddd52012-05-31 11:18:50 -07007MEMBASE := 0x0F900000 # SDRAM
Deepa Dinamani7d6c8972011-12-14 15:16:56 -08008MEMSIZE := 0x00100000 # 1MB
9
Deepa Dinamani81eddd52012-05-31 11:18:50 -070010BASE_ADDR := 0x00000
Deepa Dinamani7d6c8972011-12-14 15:16:56 -080011
12TAGS_ADDR := BASE_ADDR+0x00000100
13KERNEL_ADDR := BASE_ADDR+0x00008000
14RAMDISK_ADDR := BASE_ADDR+0x01000000
15SCRATCH_ADDR := 0x00000000
16
Deepa Dinamani7d6c8972011-12-14 15:16:56 -080017MODULES += \
18 dev/keys \
Deepa Dinamani22799652012-07-21 12:26:22 -070019 lib/ptable \
20 dev/pmic/pm8x41
Deepa Dinamani7d6c8972011-12-14 15:16:56 -080021
22DEFINES += \
23 MEMSIZE=$(MEMSIZE) \
24 MEMBASE=$(MEMBASE) \
25 BASE_ADDR=$(BASE_ADDR) \
26 TAGS_ADDR=$(TAGS_ADDR) \
27 KERNEL_ADDR=$(KERNEL_ADDR) \
28 RAMDISK_ADDR=$(RAMDISK_ADDR) \
29 SCRATCH_ADDR=$(SCRATCH_ADDR)
30
31
32OBJS += \
33 $(LOCAL_DIR)/init.o \
34 $(LOCAL_DIR)/atags.o