blob: 7bfa2e8d5005da08dd66d694e42e96a6d0c90fd2 [file] [log] [blame]
LOCAL_DIR := $(GET_LOCAL_DIR)
INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared
PLATFORM := msm7k
MEMBASE := 0x00000000 # SMI
MEMSIZE := 0x00100000 # 1MB
BASE_ADDR := 0x00200000
TAGS_ADDR := BASE_ADDR+0x00000100
KERNEL_ADDR := BASE_ADDR+0x00008000
RAMDISK_ADDR := BASE_ADDR+0x01000000
SCRATCH_ADDR := BASE_ADDR+0xA00000
LCDC_FB_ADDR := 0x0D300000
KEYS_USE_GPIO_KEYPAD := 1
DEFINES += DISPLAY_TYPE_MDDI=0
DEFINES += DISPLAY_TYPE_LCDC=1
DEFINES += DISPLAY_SPLASH_SCREEN=1
DEFINES += MDDI_MULTI_WRITE=1
MODULES += \
dev/keys \
dev/ssbi \
lib/ptable
DEFINES += \
SDRAM_SIZE=$(MEMSIZE) \
MEMBASE=$(MEMBASE) \
BASE_ADDR=$(BASE_ADDR) \
TAGS_ADDR=$(TAGS_ADDR) \
KERNEL_ADDR=$(KERNEL_ADDR) \
RAMDISK_ADDR=$(RAMDISK_ADDR) \
SCRATCH_ADDR=$(SCRATCH_ADDR) \
LCDC_FB_ADDR=$(LCDC_FB_ADDR)
OBJS += \
$(LOCAL_DIR)/init.o \
$(LOCAL_DIR)/keypad.o \
$(LOCAL_DIR)/atags.o