[Feature]add MT2731_MP2_MR2_SVN388 baseline version
Change-Id: Ief04314834b31e27effab435d3ca8ba33b499059
diff --git a/src/bsp/lk/target/auto2635evb2-ivt/rules.mk b/src/bsp/lk/target/auto2635evb2-ivt/rules.mk
new file mode 100644
index 0000000..194d17e
--- /dev/null
+++ b/src/bsp/lk/target/auto2635evb2-ivt/rules.mk
@@ -0,0 +1,34 @@
+LOCAL_DIR := $(GET_LOCAL_DIR)
+
+GLOBAL_INCLUDES += \
+ $(LOCAL_DIR)/include
+
+PLATFORM := mt2635
+
+TZ_PART_NAME := tee1
+RECOVERY_TZ_PART_NAME = tee2
+DTBO_PART_NAME := DTBO
+BOOT_PART_NAME := boot
+RECOVERY_BOOT_PART_NAME = recovery
+
+ifeq ($(WITH_KERNEL_VM),1)
+# The physical dram address is 0x40000000 and its virtual address 0xffff00000d600000
+# The SCRATCH_ADDR virtual address would be 0xffff00000d600000 + 0x4000000 = 0xffff00000f400000
+# The BL33_ADDR virtual address would be 0xffff00000d600000 + 0x1e00000 = 0xffff00000f400000
+CACHED_MEMPOOL_ADDR := 0xffff000011600000UL
+BL33_ADDR := 0xffff00000f400000UL
+else
+CACHED_MEMPOOL_ADDR := 0x44000000
+BL33_ADDR := 0x41e00000
+endif
+CACHED_MEMPOOL_SIZE := 0x0AA00000 # 170MB
+
+GLOBAL_CFLAGS += -DTZ_PART_NAME=\"$(TZ_PART_NAME)\" \
+ -DDTBO_PART_NAME=\"$(DTBO_PART_NAME)\" \
+ -DBOOT_PART_NAME=\"$(BOOT_PART_NAME)\" \
+ -DRECOVERY_BOOT_PART_NAME=\"$(RECOVERY_BOOT_PART_NAME)\" \
+ -DRECOVERY_TZ_PART_NAME=\"$(RECOVERY_TZ_PART_NAME)\" \
+
+GLOBAL_DEFINES += CACHED_MEMPOOL_ADDR=$(CACHED_MEMPOOL_ADDR) \
+ CACHED_MEMPOOL_SIZE=$(CACHED_MEMPOOL_SIZE) \
+ BL33_ADDR=$(BL33_ADDR)