Kinson Chik | 18e3633 | 2011-08-15 10:07:28 -0700 | [diff] [blame] | 1 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 2 | |
| 3 | INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared |
| 4 | |
| 5 | PLATFORM := mdm9x15 |
| 6 | |
Kinson Chik | 2768bb4 | 2011-09-07 16:58:45 -0700 | [diff] [blame] | 7 | MEMBASE := 0x41700000 |
Kinson Chik | 18e3633 | 2011-08-15 10:07:28 -0700 | [diff] [blame] | 8 | MEMSIZE := 0x00100000 # 1MB |
| 9 | |
| 10 | BASE_ADDR := 0x40800000 |
Kinson Chik | 2828308 | 2011-10-03 17:48:23 -0700 | [diff] [blame] | 11 | SCRATCH_ADDR := BASE_ADDR+0x05000000 |
Kinson Chik | 18e3633 | 2011-08-15 10:07:28 -0700 | [diff] [blame] | 12 | |
| 13 | DEFINES += NO_KEYPAD_DRIVER=1 |
| 14 | |
| 15 | MODULES += \ |
| 16 | dev/keys \ |
Kinson Chik | 53f8d32 | 2011-08-30 13:39:38 -0700 | [diff] [blame] | 17 | dev/ssbi \ |
| 18 | dev/pmic/pm8921 \ |
Kinson Chik | 18e3633 | 2011-08-15 10:07:28 -0700 | [diff] [blame] | 19 | lib/ptable |
| 20 | |
| 21 | DEFINES += \ |
| 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 | |
| 30 | OBJS += \ |
| 31 | $(LOCAL_DIR)/init.o \ |
Kinson Chik | 0b1c816 | 2011-08-31 16:31:57 -0700 | [diff] [blame] | 32 | $(LOCAL_DIR)/atags.o \ |
| 33 | $(LOCAL_DIR)/keypad.o |