blob: 1533102e7c2d4e15900cee67a5fefd554fd568df [file] [log] [blame]
Aparna Mallavarapufe1f3d12013-10-19 15:05:30 +05301LOCAL_DIR := $(GET_LOCAL_DIR)
2
3INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared
Padmanabhan Komanduru8d0f0d22014-03-22 00:11:29 +05304INCLUDES += -I$(LK_TOP_DIR)/dev/gcdb/display -I$(LK_TOP_DIR)/dev/gcdb/display/include
Aparna Mallavarapufe1f3d12013-10-19 15:05:30 +05305
6PLATFORM := msm8916
7
Aparna Mallavarapudead4a52014-04-23 14:16:26 +05308MEMBASE := 0x8F600000 # SDRAM
Aparna Mallavarapufe1f3d12013-10-19 15:05:30 +05309MEMSIZE := 0x00100000 # 1MB
10
11BASE_ADDR := 0x80000000
12SCRATCH_ADDR := 0x90000000
13
Padmanabhan Komandurucd5645e2014-03-25 20:34:18 +053014DEFINES += DISPLAY_SPLASH_SCREEN=1
Padmanabhan Komanduru8d0f0d22014-03-22 00:11:29 +053015DEFINES += DISPLAY_TYPE_MIPI=1
16DEFINES += DISPLAY_TYPE_DSI6G=1
17
Aparna Mallavarapufe1f3d12013-10-19 15:05:30 +053018MODULES += \
19 dev/keys \
Matthew Qinbac0a4c2014-04-08 15:18:28 +080020 dev/vib \
Aparna Mallavarapufe1f3d12013-10-19 15:05:30 +053021 lib/ptable \
22 dev/pmic/pm8x41 \
Padmanabhan Komandurucd5645e2014-03-25 20:34:18 +053023 lib/libfdt \
lijuang3606df82015-09-02 21:14:43 +080024 dev/pmic/pmi8994 \
Padmanabhan Komandurucd5645e2014-03-25 20:34:18 +053025 dev/gcdb/display
Aparna Mallavarapufe1f3d12013-10-19 15:05:30 +053026
27DEFINES += \
28 MEMSIZE=$(MEMSIZE) \
29 MEMBASE=$(MEMBASE) \
30 BASE_ADDR=$(BASE_ADDR) \
31 SCRATCH_ADDR=$(SCRATCH_ADDR)
32
33
34OBJS += \
35 $(LOCAL_DIR)/init.o \
Padmanabhan Komandurucd5645e2014-03-25 20:34:18 +053036 $(LOCAL_DIR)/meminfo.o \
37 $(LOCAL_DIR)/target_display.o \
38 $(LOCAL_DIR)/oem_panel.o