Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 1 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 2 | |
Shashank Mittal | 3704083 | 2010-08-24 15:57:57 -0700 | [diff] [blame] | 3 | INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared -I$(LK_TOP_DIR)/platform/msm7x30 |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 4 | |
Ajay Dudani | 232ce81 | 2009-12-02 00:14:11 -0800 | [diff] [blame] | 5 | PLATFORM := msm7x30 |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 6 | |
Ajay Dudani | c51bf63 | 2010-04-15 10:41:23 -0700 | [diff] [blame] | 7 | MEMBASE := 0x00000000 # EBI |
Chandan Uddaraju | 98737de | 2010-01-07 13:06:29 -0800 | [diff] [blame] | 8 | MEMSIZE := 0x00100000 # 1MB |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 9 | |
Ajay Dudani | a1eafc4 | 2010-04-21 19:48:11 -0700 | [diff] [blame] | 10 | BASE_ADDR := 0x00200000 |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 11 | |
Ajay Dudani | a1eafc4 | 2010-04-21 19:48:11 -0700 | [diff] [blame] | 12 | TAGS_ADDR := BASE_ADDR+0x00000100 |
| 13 | KERNEL_ADDR := BASE_ADDR+0x00008000 |
| 14 | RAMDISK_ADDR := BASE_ADDR+0x01000000 |
| 15 | SCRATCH_ADDR := 0x08008000 |
| 16 | FASTBOOT_BUF_SIZE := 0x07800000 |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 17 | |
| 18 | KEYS_USE_GPIO_KEYPAD := 1 |
| 19 | |
Shashank Mittal | 3704083 | 2010-08-24 15:57:57 -0700 | [diff] [blame] | 20 | DEFINES += DISPLAY_SPLASH_SCREEN=0 |
Chandan Uddaraju | c009e4d | 2010-09-08 17:06:45 -0700 | [diff] [blame^] | 21 | DEFINES += DISPLAY_TYPE_MDDI=0 |
Shashank Mittal | 3704083 | 2010-08-24 15:57:57 -0700 | [diff] [blame] | 22 | DEFINES += DISPLAY_TYPE_LCDC=0 |
Chandan Uddaraju | 96f581d | 2009-11-24 22:38:40 -0800 | [diff] [blame] | 23 | |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 24 | MODULES += \ |
| 25 | dev/keys \ |
| 26 | lib/ptable |
| 27 | |
| 28 | DEFINES += \ |
| 29 | SDRAM_SIZE=$(MEMSIZE) \ |
David Ng | 6e1711f | 2010-01-19 15:27:00 -0800 | [diff] [blame] | 30 | MEMBASE=$(MEMBASE) \ |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 31 | BASE_ADDR=$(BASE_ADDR) \ |
| 32 | TAGS_ADDR=$(TAGS_ADDR) \ |
| 33 | KERNEL_ADDR=$(KERNEL_ADDR) \ |
| 34 | RAMDISK_ADDR=$(RAMDISK_ADDR) \ |
Ajay Dudani | a1eafc4 | 2010-04-21 19:48:11 -0700 | [diff] [blame] | 35 | SCRATCH_ADDR=$(SCRATCH_ADDR) \ |
| 36 | FASTBOOT_BUF_SIZE=$(FASTBOOT_BUF_SIZE) |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 37 | |
| 38 | |
| 39 | OBJS += \ |
| 40 | $(LOCAL_DIR)/init.o \ |
Chandan Uddaraju | c6860e1 | 2009-11-19 11:22:15 -0800 | [diff] [blame] | 41 | $(LOCAL_DIR)/atags.o \ |
Shashank Mittal | 3704083 | 2010-08-24 15:57:57 -0700 | [diff] [blame] | 42 | $(LOCAL_DIR)/keypad.o \ |