blob: e318b14e1d44c31251c9eb63be187b5ece269d5a [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
16FASTBOOT_BUF_SIZE := 0x07800000
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -080017
18KEYS_USE_GPIO_KEYPAD := 1
19
Shashank Mittal37040832010-08-24 15:57:57 -070020DEFINES += DISPLAY_SPLASH_SCREEN=0
Chandan Uddarajuc009e4d2010-09-08 17:06:45 -070021DEFINES += DISPLAY_TYPE_MDDI=0
Shashank Mittal37040832010-08-24 15:57:57 -070022DEFINES += DISPLAY_TYPE_LCDC=0
Chandan Uddaraju96f581d2009-11-24 22:38:40 -080023
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -080024MODULES += \
25 dev/keys \
26 lib/ptable
27
28DEFINES += \
29 SDRAM_SIZE=$(MEMSIZE) \
David Ng6e1711f2010-01-19 15:27:00 -080030 MEMBASE=$(MEMBASE) \
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -080031 BASE_ADDR=$(BASE_ADDR) \
32 TAGS_ADDR=$(TAGS_ADDR) \
33 KERNEL_ADDR=$(KERNEL_ADDR) \
34 RAMDISK_ADDR=$(RAMDISK_ADDR) \
Ajay Dudania1eafc42010-04-21 19:48:11 -070035 SCRATCH_ADDR=$(SCRATCH_ADDR) \
36 FASTBOOT_BUF_SIZE=$(FASTBOOT_BUF_SIZE)
Chandan Uddaraju8adde5a2009-11-17 11:31:28 -080037
38
39OBJS += \
40 $(LOCAL_DIR)/init.o \
Chandan Uddarajuc6860e12009-11-19 11:22:15 -080041 $(LOCAL_DIR)/atags.o \
Shashank Mittal37040832010-08-24 15:57:57 -070042 $(LOCAL_DIR)/keypad.o \