target: mdm9x35: Change target to 9x35
Renaming files to add support for mdm9x35.
Change-Id: I9120cbce901a4da806893e5950fb5b9f000848bd
diff --git a/target/mdm9635/rules.mk b/target/mdm9635/rules.mk
new file mode 100644
index 0000000..62fb3e2
--- /dev/null
+++ b/target/mdm9635/rules.mk
@@ -0,0 +1,36 @@
+LOCAL_DIR := $(GET_LOCAL_DIR)
+
+INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared
+
+PLATFORM := mdm9x35
+
+MEMBASE := 0x07E00000
+MEMSIZE := 0x00100000 # 1MB
+SCRATCH_ADDR := 0x00000000
+SCRATCH_REGION1 := 0x00000000
+SCRATCH_REGION1_SIZE := 0x01000000 #16MB
+SCRATCH_REGION2 := 0x01300000
+SCRATCH_REGION2_SIZE := 0x06B00000 # 107MB
+
+DEFINES += NO_KEYPAD_DRIVER=1
+DEFINES += PERIPH_BLK_BLSP=1
+
+MODULES += \
+ dev/keys \
+ lib/ptable \
+ dev/pmic/pm8x41 \
+ lib/libfdt
+
+DEFINES += \
+ MEMBASE=$(MEMBASE) \
+ SCRATCH_ADDR=$(SCRATCH_ADDR) \
+ SCRATCH_REGION1=$(SCRATCH_REGION1) \
+ SCRATCH_REGION2=$(SCRATCH_REGION2) \
+ MEMSIZE=$(MEMSIZE) \
+ SCRATCH_REGION1_SIZE=$(SCRATCH_REGION1_SIZE) \
+ SCRATCH_REGION2_SIZE=$(SCRATCH_REGION2_SIZE) \
+
+OBJS += \
+ $(LOCAL_DIR)/init.o \
+ $(LOCAL_DIR)/meminfo.o \
+ $(LOCAL_DIR)/keypad.o