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 |
Channagoud Kadabi | aa74367 | 2011-12-19 16:25:52 +0530 | [diff] [blame] | 16 | FASTBOOT_BUF_SIZE := 0x10000000 |
Channagoud Kadabi | acde372 | 2012-01-27 14:43:17 +0530 | [diff] [blame] | 17 | LCDC_FB_ADDR := 0x08008000 |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 18 | |
| 19 | KEYS_USE_GPIO_KEYPAD := 1 |
| 20 | |
Channagoud Kadabi | acde372 | 2012-01-27 14:43:17 +0530 | [diff] [blame] | 21 | DEFINES += DISPLAY_SPLASH_SCREEN=1 |
Chandan Uddaraju | c009e4d | 2010-09-08 17:06:45 -0700 | [diff] [blame] | 22 | DEFINES += DISPLAY_TYPE_MDDI=0 |
Channagoud Kadabi | acde372 | 2012-01-27 14:43:17 +0530 | [diff] [blame] | 23 | DEFINES += DISPLAY_TYPE_LCDC=1 |
Amol Jadi | 84a546a | 2011-03-02 12:09:11 -0800 | [diff] [blame] | 24 | DEFINES += MMC_BOOT_ADM=0 |
Channagoud Kadabi | 3a5a23d | 2012-06-26 15:34:30 +0530 | [diff] [blame] | 25 | DEFINES += TARGET_USES_RSPIN_LOCK=0 |
Channagoud Kadabi | f4e2293 | 2012-02-20 17:39:25 +0530 | [diff] [blame] | 26 | DEFINES += USE_PCOM_SECBOOT=1 |
Chandan Uddaraju | 96f581d | 2009-11-24 22:38:40 -0800 | [diff] [blame] | 27 | |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 28 | MODULES += \ |
| 29 | dev/keys \ |
Kinson Chik | ea64624 | 2011-09-01 13:53:16 -0700 | [diff] [blame] | 30 | dev/ssbi \ |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 31 | lib/ptable |
| 32 | |
| 33 | DEFINES += \ |
| 34 | SDRAM_SIZE=$(MEMSIZE) \ |
David Ng | 6e1711f | 2010-01-19 15:27:00 -0800 | [diff] [blame] | 35 | MEMBASE=$(MEMBASE) \ |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 36 | BASE_ADDR=$(BASE_ADDR) \ |
| 37 | TAGS_ADDR=$(TAGS_ADDR) \ |
| 38 | KERNEL_ADDR=$(KERNEL_ADDR) \ |
| 39 | RAMDISK_ADDR=$(RAMDISK_ADDR) \ |
Ajay Dudani | a1eafc4 | 2010-04-21 19:48:11 -0700 | [diff] [blame] | 40 | SCRATCH_ADDR=$(SCRATCH_ADDR) \ |
Channagoud Kadabi | acde372 | 2012-01-27 14:43:17 +0530 | [diff] [blame] | 41 | FASTBOOT_BUF_SIZE=$(FASTBOOT_BUF_SIZE) \ |
| 42 | LCDC_FB_ADDR=$(LCDC_FB_ADDR) |
Chandan Uddaraju | 8adde5a | 2009-11-17 11:31:28 -0800 | [diff] [blame] | 43 | |
| 44 | |
| 45 | OBJS += \ |
| 46 | $(LOCAL_DIR)/init.o \ |
Chandan Uddaraju | c6860e1 | 2009-11-19 11:22:15 -0800 | [diff] [blame] | 47 | $(LOCAL_DIR)/atags.o \ |
Channagoud Kadabi | e1ecef5 | 2012-02-04 15:54:34 +0530 | [diff] [blame] | 48 | $(LOCAL_DIR)/keypad.o |