blob: 960894afbedac6130e50d3997164f41bb8027598 [file] [log] [blame]
Kinson Chik18e36332011-08-15 10:07:28 -07001LOCAL_DIR := $(GET_LOCAL_DIR)
2
3INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared
4
5PLATFORM := mdm9x15
6
Kinson Chik2768bb42011-09-07 16:58:45 -07007MEMBASE := 0x41700000
Kinson Chik18e36332011-08-15 10:07:28 -07008MEMSIZE := 0x00100000 # 1MB
9
10BASE_ADDR := 0x40800000
Kinson Chik28283082011-10-03 17:48:23 -070011SCRATCH_ADDR := BASE_ADDR+0x05000000
Kinson Chik18e36332011-08-15 10:07:28 -070012
13DEFINES += NO_KEYPAD_DRIVER=1
14
15MODULES += \
16 dev/keys \
Kinson Chik53f8d322011-08-30 13:39:38 -070017 dev/ssbi \
18 dev/pmic/pm8921 \
Kinson Chik18e36332011-08-15 10:07:28 -070019 lib/ptable
20
21DEFINES += \
22 SDRAM_SIZE=$(MEMSIZE) \
23 MEMBASE=$(MEMBASE) \
24 BASE_ADDR=$(BASE_ADDR) \
25 TAGS_ADDR=$(TAGS_ADDR) \
26 KERNEL_ADDR=$(KERNEL_ADDR) \
27 RAMDISK_ADDR=$(RAMDISK_ADDR) \
28 SCRATCH_ADDR=$(SCRATCH_ADDR)
29
30OBJS += \
31 $(LOCAL_DIR)/init.o \
Kinson Chik0b1c8162011-08-31 16:31:57 -070032 $(LOCAL_DIR)/atags.o \
33 $(LOCAL_DIR)/keypad.o