Aparna Mallavarapu | ca67688 | 2015-01-19 20:39:06 +0530 | [diff] [blame] | 1 | LOCAL_DIR := $(GET_LOCAL_DIR) |
| 2 | |
| 3 | INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared |
Padmanabhan Komanduru | c7825c6 | 2015-04-10 12:57:15 -0700 | [diff] [blame] | 4 | INCLUDES += -I$(LK_TOP_DIR)/dev/gcdb/display -I$(LK_TOP_DIR)/dev/gcdb/display/include |
Reut Zysman | 408817b | 2015-08-09 19:20:09 +0300 | [diff] [blame] | 5 | ifeq ($(ENABLE_MDTP_SUPPORT),1) |
| 6 | INCLUDES += -I$(LK_TOP_DIR)/app/aboot |
| 7 | endif |
Aparna Mallavarapu | ca67688 | 2015-01-19 20:39:06 +0530 | [diff] [blame] | 8 | |
| 9 | PLATFORM := msm8952 |
| 10 | |
| 11 | MEMBASE := 0x8F600000 # SDRAM |
Rami Burstein | 9c0600f | 2015-06-22 18:50:57 +0300 | [diff] [blame] | 12 | MEMSIZE := 0x00300000 # 3MB |
Aparna Mallavarapu | ca67688 | 2015-01-19 20:39:06 +0530 | [diff] [blame] | 13 | |
| 14 | BASE_ADDR := 0x80000000 |
Parth Dixit | 80b5844 | 2016-05-17 10:54:09 +0530 | [diff] [blame] | 15 | SCRATCH_ADDR := 0xA0100000 |
Parth Dixit | 7062320 | 2016-12-21 15:45:27 +0530 | [diff] [blame] | 16 | SCRATCH_ADDR_512 := 0x91400000 |
| 17 | |
| 18 | SCRATCH_SIZE := 511 |
| 19 | SCRATCH_SIZE_512 := 234 |
Aparna Mallavarapu | ca67688 | 2015-01-19 20:39:06 +0530 | [diff] [blame] | 20 | |
Padmanabhan Komanduru | c7825c6 | 2015-04-10 12:57:15 -0700 | [diff] [blame] | 21 | DEFINES += DISPLAY_TYPE_MIPI=1 |
| 22 | DEFINES += DISPLAY_TYPE_DSI6G=1 |
| 23 | |
Parth Dixit | 16fd62a | 2015-06-17 19:34:23 +0530 | [diff] [blame] | 24 | DEFINES += PMI_CONFIGURED=1 |
| 25 | |
Aparna Mallavarapu | ca67688 | 2015-01-19 20:39:06 +0530 | [diff] [blame] | 26 | MODULES += \ |
| 27 | dev/keys \ |
Aparna Mallavarapu | ca67688 | 2015-01-19 20:39:06 +0530 | [diff] [blame] | 28 | lib/ptable \ |
| 29 | dev/pmic/pm8x41 \ |
Matthew Qin | 47dfdb7 | 2015-06-10 21:29:11 +0800 | [diff] [blame] | 30 | dev/qpnp_haptic \ |
| 31 | dev/vib \ |
Aparna Mallavarapu | fa5f8a7 | 2015-03-31 06:21:36 +0530 | [diff] [blame] | 32 | lib/libfdt \ |
Padmanabhan Komanduru | 9d49f89 | 2015-04-10 12:58:46 -0700 | [diff] [blame] | 33 | dev/qpnp_wled \ |
lijuang | 3606df8 | 2015-09-02 21:14:43 +0800 | [diff] [blame] | 34 | dev/pmic/pmi8994 \ |
Parth Dixit | ba68b55 | 2015-09-16 11:46:55 +0530 | [diff] [blame] | 35 | dev/pmic/fgsram \ |
Padmanabhan Komanduru | 9d49f89 | 2015-04-10 12:58:46 -0700 | [diff] [blame] | 36 | dev/gcdb/display |
Aparna Mallavarapu | ca67688 | 2015-01-19 20:39:06 +0530 | [diff] [blame] | 37 | |
| 38 | DEFINES += \ |
| 39 | MEMSIZE=$(MEMSIZE) \ |
| 40 | MEMBASE=$(MEMBASE) \ |
| 41 | BASE_ADDR=$(BASE_ADDR) \ |
Parth Dixit | 7062320 | 2016-12-21 15:45:27 +0530 | [diff] [blame] | 42 | SCRATCH_ADDR=$(SCRATCH_ADDR) \ |
| 43 | SCRATCH_ADDR_512=$(SCRATCH_ADDR_512) \ |
| 44 | SCRATCH_SIZE=$(SCRATCH_SIZE) \ |
| 45 | SCRATCH_SIZE_512=$(SCRATCH_SIZE_512) |
| 46 | |
Aparna Mallavarapu | ca67688 | 2015-01-19 20:39:06 +0530 | [diff] [blame] | 47 | |
| 48 | |
| 49 | OBJS += \ |
| 50 | $(LOCAL_DIR)/init.o \ |
Padmanabhan Komanduru | 9d49f89 | 2015-04-10 12:58:46 -0700 | [diff] [blame] | 51 | $(LOCAL_DIR)/meminfo.o \ |
| 52 | $(LOCAL_DIR)/target_display.o \ |
| 53 | $(LOCAL_DIR)/oem_panel.o |
Aparna Mallavarapu | fa5f8a7 | 2015-03-31 06:21:36 +0530 | [diff] [blame] | 54 | ifeq ($(ENABLE_SMD_SUPPORT),1) |
| 55 | OBJS += \ |
| 56 | $(LOCAL_DIR)/regulator.o |
| 57 | endif |
Reut Zysman | 408817b | 2015-08-09 19:20:09 +0300 | [diff] [blame] | 58 | ifeq ($(ENABLE_MDTP_SUPPORT),1) |
| 59 | OBJS += \ |
Reut Zysman | bd6c687 | 2015-08-26 17:36:10 +0300 | [diff] [blame] | 60 | $(LOCAL_DIR)/mdtp_defs.o |
Reut Zysman | 408817b | 2015-08-09 19:20:09 +0300 | [diff] [blame] | 61 | endif |