[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/cp/ps/plat/inc/oss/ramdump.h b/cp/ps/plat/inc/oss/ramdump.h
new file mode 100644
index 0000000..a83ffda
--- /dev/null
+++ b/cp/ps/plat/inc/oss/ramdump.h
@@ -0,0 +1,77 @@
+/*******************************************************************************
+* °æÈ¨ËùÓÐ (C)2016, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
+* 
+* ÎļþÃû³Æ:     ramdump.h
+* Îļþ±êʶ:     ramdump.h
+* ÄÚÈÝÕªÒª:     ramdump¶ÔÍâÌṩͷÎļþ
+* ʹÓ÷½·¨:     #include "ramdump.h"
+* 
+* ÐÞ¸ÄÈÕÆÚ        °æ±¾ºÅ      Ð޸ıê¼Ç        ÐÞ¸ÄÈË          ÐÞ¸ÄÄÚÈÝ
+* ------------------------------------------------------------------------------
+* 2016/3/10      V1.0        Create           ÕÔ¾ü¿ü          ´´½¨
+* 
+*******************************************************************************/
+
+#ifndef _RAMDUMP_H
+#define _RAMDUMP_H
+
+/*******************************************************************************
+*                                   Í·Îļþ                                     *
+*******************************************************************************/
+
+/*******************************************************************************
+*                                Íⲿº¯ÊýÉùÃ÷                                  *
+*******************************************************************************/
+
+/*******************************************************************************
+*                                   ºê¶¨Òå                                     *
+*******************************************************************************/
+
+/*******************************************************************************
+*                                Êý¾ÝÀàÐͶ¨Òå                                  *
+*******************************************************************************/
+typedef int (*ramdump_callback_t)(void);
+
+/* RAMDUMP_FLAG_XXX         */
+enum
+{
+    RAMDUMP_FLAG_NONE           = 0x00, /* default                  */
+    RAMDUMP_FLAG_NEED_COPY      = 0x01, /* Copy destination address */
+    RAMDUMP_FLAG_HAS_EXTERNAL   = 0x02, /* External address         */
+    RAMDUMP_FLAG_HAS_CALLBACK   = 0x04, /* Callback funtion         */
+};
+
+/*******************************************************************************
+*                                È«¾Ö±äÁ¿ÉùÃ÷                                  *
+*******************************************************************************/
+
+/*******************************************************************************
+*                                È«¾Öº¯ÊýÉùÃ÷                                  *
+*******************************************************************************/
+#if defined (CONFIG_RAMDUMP) || defined (_USE_CLIENT_RAMDUMP)
+extern void ramdump_ram_conf_table_add(
+        char *ram_name, 
+        unsigned long ram_phy, 
+        unsigned long ram_size, 
+        unsigned long ram_virt,
+        unsigned long ram_flag,
+        unsigned long ram_extra);
+#else
+static void ramdump_ram_conf_table_add(
+        char *ram_name, 
+        unsigned long ram_phy, 
+        unsigned long ram_size, 
+        unsigned long ram_virt,
+        unsigned long ram_flag,
+        unsigned long ram_extra)
+{
+    ;
+}
+#endif
+
+/*******************************************************************************
+*                                ÄÚÁªº¯ÊýʵÏÖ                                  *
+*******************************************************************************/
+
+#endif  //#ifndef _RAMDUMP_H
+