blob: f2ae532cc30ddaceb1c651a27d35db5f23b27ff4 [file] [log] [blame]
Unnati Gandhi4d07fac2014-07-04 17:38:25 +05301LOCAL_DIR := $(GET_LOCAL_DIR)
2
3INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared
Shivaraj Shettyf9e10c42014-09-17 04:21:15 +05304INCLUDES += -I$(LK_TOP_DIR)/dev/gcdb/display -I$(LK_TOP_DIR)/dev/gcdb/display/include
Unnati Gandhi4d07fac2014-07-04 17:38:25 +05305
Unnati Gandhi89d71a12014-09-18 12:01:08 +05306PLATFORM := msm8909
Unnati Gandhi4d07fac2014-07-04 17:38:25 +05307
8MEMBASE := 0x8F600000 # SDRAM
9MEMSIZE := 0x00100000 # 1MB
10
11BASE_ADDR := 0x80000000
Mayank Grover7e351832017-04-21 15:03:58 +053012SCRATCH_ADDR := 0x90100000
Unnati Gandhi4d07fac2014-07-04 17:38:25 +053013
Shivaraj Shettyaf4c6072014-11-04 16:25:31 +053014DEFINES += DISPLAY_SPLASH_SCREEN=1
Shivaraj Shettyf9e10c42014-09-17 04:21:15 +053015DEFINES += DISPLAY_TYPE_MIPI=1
16DEFINES += DISPLAY_TYPE_DSI6G=1
lijuang4db3eae2015-03-11 17:38:24 +080017DEFINES += NO_ALARM_DISPLAY=0
Shivaraj Shettyf9e10c42014-09-17 04:21:15 +053018
Unnati Gandhi4d07fac2014-07-04 17:38:25 +053019MODULES += \
20 dev/keys \
21 dev/vib \
22 lib/ptable \
Shivaraj Shettyf9e10c42014-09-17 04:21:15 +053023 dev/gcdb/display \
Unnati Gandhi4d07fac2014-07-04 17:38:25 +053024 dev/pmic/pm8x41 \
lijuang3606df82015-09-02 21:14:43 +080025 dev/pmic/pmi8994 \
Unnati Gandhi4d07fac2014-07-04 17:38:25 +053026 lib/libfdt
27
28DEFINES += \
29 MEMSIZE=$(MEMSIZE) \
30 MEMBASE=$(MEMBASE) \
31 BASE_ADDR=$(BASE_ADDR) \
32 SCRATCH_ADDR=$(SCRATCH_ADDR)
33
34
35OBJS += \
36 $(LOCAL_DIR)/init.o \
Shivaraj Shettyf9e10c42014-09-17 04:21:15 +053037 $(LOCAL_DIR)/meminfo.o \
38 $(LOCAL_DIR)/target_display.o \
39 $(LOCAL_DIR)/oem_panel.o
Unnati Gandhif35baba2014-11-06 18:40:36 +053040
41ifeq ($(ENABLE_SMD_SUPPORT),1)
42OBJS += \
43 $(LOCAL_DIR)/regulator.o
44endif