blob: 3fdd38021d25c0606b1f7a3b2414fde467097b8a [file] [log] [blame]
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -08001LOCAL_DIR := $(GET_LOCAL_DIR)
2
Shashank Mittal37040832010-08-24 15:57:57 -07003INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared -I$(LK_TOP_DIR)/platform/msm7x30
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -08004
Ajay Dudani232ce812009-12-02 00:14:11 -08005PLATFORM := msm7x30
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -08006
Ajay Dudanic51bf632010-04-15 10:41:23 -07007MEMBASE := 0x00000000 # EBI
Chandan Uddaraju98737de2010-01-07 13:06:29 -08008MEMSIZE := 0x00100000 # 1MB
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -08009
Ajay Dudania1eafc42010-04-21 19:48:11 -070010BASE_ADDR := 0x00200000
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -080011
Ajay Dudania1eafc42010-04-21 19:48:11 -070012TAGS_ADDR := BASE_ADDR+0x00000100
13KERNEL_ADDR := BASE_ADDR+0x00008000
14RAMDISK_ADDR := BASE_ADDR+0x01000000
15SCRATCH_ADDR := 0x08008000
Channagoud Kadabiaa743672011-12-19 16:25:52 +053016FASTBOOT_BUF_SIZE := 0x10000000
Channagoud Kadabiacde3722012-01-27 14:43:17 +053017LCDC_FB_ADDR := 0x08008000
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -080018
19KEYS_USE_GPIO_KEYPAD := 1
20
Channagoud Kadabiacde3722012-01-27 14:43:17 +053021DEFINES += DISPLAY_SPLASH_SCREEN=1
Chandan Uddarajuc009e4d2010-09-08 17:06:45 -070022DEFINES += DISPLAY_TYPE_MDDI=0
Channagoud Kadabiacde3722012-01-27 14:43:17 +053023DEFINES += DISPLAY_TYPE_LCDC=1
Amol Jadi84a546a2011-03-02 12:09:11 -080024DEFINES += MMC_BOOT_ADM=0
Channagoud Kadabi3a5a23d2012-06-26 15:34:30 +053025DEFINES += TARGET_USES_RSPIN_LOCK=0
Channagoud Kadabif4e22932012-02-20 17:39:25 +053026DEFINES += USE_PCOM_SECBOOT=1
Chandan Uddaraju96f581d2009-11-24 22:38:40 -080027
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -080028MODULES += \
29 dev/keys \
Kinson Chikea646242011-09-01 13:53:16 -070030 dev/ssbi \
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -080031 lib/ptable
32
33DEFINES += \
34 SDRAM_SIZE=$(MEMSIZE) \
David Ng6e1711f2010-01-19 15:27:00 -080035 MEMBASE=$(MEMBASE) \
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -080036 BASE_ADDR=$(BASE_ADDR) \
37 TAGS_ADDR=$(TAGS_ADDR) \
38 KERNEL_ADDR=$(KERNEL_ADDR) \
39 RAMDISK_ADDR=$(RAMDISK_ADDR) \
Ajay Dudania1eafc42010-04-21 19:48:11 -070040 SCRATCH_ADDR=$(SCRATCH_ADDR) \
Channagoud Kadabiacde3722012-01-27 14:43:17 +053041 FASTBOOT_BUF_SIZE=$(FASTBOOT_BUF_SIZE) \
42 LCDC_FB_ADDR=$(LCDC_FB_ADDR)
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -080043
44
45OBJS += \
46 $(LOCAL_DIR)/init.o \
Chandan Uddarajuc6860e12009-11-19 11:22:15 -080047 $(LOCAL_DIR)/atags.o \
Channagoud Kadabie1ecef52012-02-04 15:54:34 +053048 $(LOCAL_DIR)/keypad.o