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

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/boot/common/src/uboot/downloader/downloader_serial.h b/boot/common/src/uboot/downloader/downloader_serial.h
new file mode 100644
index 0000000..2360101
--- /dev/null
+++ b/boot/common/src/uboot/downloader/downloader_serial.h
@@ -0,0 +1,99 @@
+/*******************************************************************************

+ * Copyright (C) 2016, ZIXC Corporation.

+ *

+ * File Name:    downloader_serial.h

+ * File Mark:    

+ * Description:  

+ * Others:        

+ * Version:       1.0

+ * Author:        geanfeng

+ * Date:          2013-03-04

+ * History 1:      

+ *     Date: 

+ *     Version:

+ *     Author: 

+ *     Modification:  

+ * History 2: 

+  ********************************************************************************/

+#ifndef _DOWNLOADER_SERIAL_H

+#define _DOWNLOADER_SERIAL_H

+/****************************************************************************

+* 	                        Include files

+****************************************************************************/

+

+/****************************************************************************

+* 	                         Macros

+****************************************************************************/

+

+/****************************************************************************

+* 	                         Types

+****************************************************************************/

+/****************************************************************************

+* 	                         Constants

+****************************************************************************/

+

+/****************************************************************************

+* 	                         Global  Variables

+****************************************************************************/

+

+/****************************************************************************

+* 	                         Function Prototypes

+****************************************************************************/

+

+/*******************************************************************************

+ * Function:downloader_serial_read

+ * Description:

+ * Parameters:

+ *	 Input:

+ *

+ *	 Output:

+ *

+ * Returns:

+ *

+ *

+ * Others:

+ ********************************************************************************/

+int downloader_serial_read(char * buffer,unsigned int len);

+/*******************************************************************************

+ * Function:downloader_serial_read_actuallen

+ * Description:

+ * Parameters:

+ *	 Input:

+ *

+ *	 Output:

+ *

+ * Returns:

+ *

+ *

+ * Others:

+ ********************************************************************************/

+int downloader_serial_read_actuallen(char * buffer,unsigned int len);

+/*******************************************************************************

+ * Function:downloader_serial_write

+ * Description:

+ * Parameters:

+ *	 Input:

+ *

+ *	 Output:

+ *

+ * Returns:

+ *

+ *

+ * Others:

+ ********************************************************************************/

+int downloader_serial_write(const char * buffer,unsigned int len);

+/*******************************************************************************

+ * Function:downloader_serial_write_actuallen

+ * Description:

+ * Parameters:

+ *	 Input:

+ *

+ *	 Output:

+ *

+ * Returns:

+ *

+ *

+ * Others:

+ ********************************************************************************/

+int downloader_serial_write_actuallen(const char * buffer,unsigned int len);

+#endif