2024-09-09 08:52:07 +00:00
|
|
|
LOCAL_DIR := $(GET_LOCAL_DIR)
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared -I$(LK_TOP_DIR)/platform/msm8610/include
|
|
|
|
INCLUDES += -I$(LK_TOP_DIR)/dev/gcdb/display -I$(LK_TOP_DIR)/dev/gcdb/display/include
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
PLATFORM := msm8610
|
|
|
|
|
|
|
|
MEMBASE := 0x07A00000 # SDRAM
|
|
|
|
MEMSIZE := 0x00100000 # 1MB
|
|
|
|
|
|
|
|
BASE_ADDR := 0x00000
|
|
|
|
|
|
|
|
TAGS_ADDR := BASE_ADDR+0x00000100
|
|
|
|
KERNEL_ADDR := BASE_ADDR+0x00008000
|
|
|
|
RAMDISK_ADDR := BASE_ADDR+0x01000000
|
|
|
|
SCRATCH_ADDR := 0x0E000000
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
DEFINES += DISPLAY_TYPE_8610=1
|
|
|
|
DEFINES += DISPLAY_SPLASH_SCREEN=1
|
|
|
|
DEFINES += DISPLAY_TYPE_MIPI=1
|
|
|
|
|
2024-09-09 08:52:07 +00:00
|
|
|
MODULES += \
|
|
|
|
dev/keys \
|
|
|
|
lib/ptable \
|
|
|
|
dev/pmic/pm8x41 \
|
2024-09-09 08:57:42 +00:00
|
|
|
dev/gcdb/display \
|
|
|
|
dev/vib \
|
2024-09-09 08:52:07 +00:00
|
|
|
lib/libfdt
|
|
|
|
|
|
|
|
DEFINES += \
|
|
|
|
MEMSIZE=$(MEMSIZE) \
|
|
|
|
MEMBASE=$(MEMBASE) \
|
|
|
|
BASE_ADDR=$(BASE_ADDR) \
|
|
|
|
TAGS_ADDR=$(TAGS_ADDR) \
|
|
|
|
KERNEL_ADDR=$(KERNEL_ADDR) \
|
|
|
|
RAMDISK_ADDR=$(RAMDISK_ADDR) \
|
|
|
|
SCRATCH_ADDR=$(SCRATCH_ADDR)
|
|
|
|
|
|
|
|
|
|
|
|
OBJS += \
|
|
|
|
$(LOCAL_DIR)/init.o \
|
2024-09-09 08:57:42 +00:00
|
|
|
$(LOCAL_DIR)/meminfo.o \
|
|
|
|
$(LOCAL_DIR)/target_display.o \
|
|
|
|
$(LOCAL_DIR)/oem_panel.o
|