Unnati Gandhi | 4d07fac | 2014-07-04 17:38:25 +0530 | [diff] [blame] | 1 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 2 | |
| 3 | INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared |
Shivaraj Shetty | f9e10c4 | 2014-09-17 04:21:15 +0530 | [diff] [blame] | 4 | INCLUDES += -I$(LK_TOP_DIR)/dev/gcdb/display -I$(LK_TOP_DIR)/dev/gcdb/display/include |
Unnati Gandhi | 4d07fac | 2014-07-04 17:38:25 +0530 | [diff] [blame] | 5 | |
Unnati Gandhi | 89d71a1 | 2014-09-18 12:01:08 +0530 | [diff] [blame] | 6 | PLATFORM := msm8909 |
Unnati Gandhi | 4d07fac | 2014-07-04 17:38:25 +0530 | [diff] [blame] | 7 | |
| 8 | MEMBASE := 0x8F600000 # SDRAM |
| 9 | MEMSIZE := 0x00100000 # 1MB |
| 10 | |
| 11 | BASE_ADDR := 0x80000000 |
Mayank Grover | 7e35183 | 2017-04-21 15:03:58 +0530 | [diff] [blame] | 12 | SCRATCH_ADDR := 0x90100000 |
Unnati Gandhi | 4d07fac | 2014-07-04 17:38:25 +0530 | [diff] [blame] | 13 | |
Shivaraj Shetty | af4c607 | 2014-11-04 16:25:31 +0530 | [diff] [blame] | 14 | DEFINES += DISPLAY_SPLASH_SCREEN=1 |
Shivaraj Shetty | f9e10c4 | 2014-09-17 04:21:15 +0530 | [diff] [blame] | 15 | DEFINES += DISPLAY_TYPE_MIPI=1 |
| 16 | DEFINES += DISPLAY_TYPE_DSI6G=1 |
lijuang | 4db3eae | 2015-03-11 17:38:24 +0800 | [diff] [blame] | 17 | DEFINES += NO_ALARM_DISPLAY=0 |
Shivaraj Shetty | f9e10c4 | 2014-09-17 04:21:15 +0530 | [diff] [blame] | 18 | |
Unnati Gandhi | 4d07fac | 2014-07-04 17:38:25 +0530 | [diff] [blame] | 19 | MODULES += \ |
| 20 | dev/keys \ |
| 21 | dev/vib \ |
| 22 | lib/ptable \ |
Shivaraj Shetty | f9e10c4 | 2014-09-17 04:21:15 +0530 | [diff] [blame] | 23 | dev/gcdb/display \ |
Unnati Gandhi | 4d07fac | 2014-07-04 17:38:25 +0530 | [diff] [blame] | 24 | dev/pmic/pm8x41 \ |
lijuang | 3606df8 | 2015-09-02 21:14:43 +0800 | [diff] [blame] | 25 | dev/pmic/pmi8994 \ |
Unnati Gandhi | 4d07fac | 2014-07-04 17:38:25 +0530 | [diff] [blame] | 26 | lib/libfdt |
| 27 | |
| 28 | DEFINES += \ |
| 29 | MEMSIZE=$(MEMSIZE) \ |
| 30 | MEMBASE=$(MEMBASE) \ |
| 31 | BASE_ADDR=$(BASE_ADDR) \ |
| 32 | SCRATCH_ADDR=$(SCRATCH_ADDR) |
| 33 | |
| 34 | |
| 35 | OBJS += \ |
| 36 | $(LOCAL_DIR)/init.o \ |
Shivaraj Shetty | f9e10c4 | 2014-09-17 04:21:15 +0530 | [diff] [blame] | 37 | $(LOCAL_DIR)/meminfo.o \ |
| 38 | $(LOCAL_DIR)/target_display.o \ |
| 39 | $(LOCAL_DIR)/oem_panel.o |
Unnati Gandhi | f35baba | 2014-11-06 18:40:36 +0530 | [diff] [blame] | 40 | |
| 41 | ifeq ($(ENABLE_SMD_SUPPORT),1) |
| 42 | OBJS += \ |
| 43 | $(LOCAL_DIR)/regulator.o |
| 44 | endif |