[Feature][ZXW-88]merge P50 version

Only Configure: No
Affected branch: master
Affected module: unknown
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: I34667719d9e0e7e29e8e4368848601cde0a48408
diff --git a/boot/common/src/loader/include/configs/zx297520v3.h b/boot/common/src/loader/include/configs/zx297520v3.h
index 71d6d50..c463be8 100755
--- a/boot/common/src/loader/include/configs/zx297520v3.h
+++ b/boot/common/src/loader/include/configs/zx297520v3.h
@@ -16,7 +16,7 @@
 #define CFG_PRINTF       1    
 #else
 //#ifdef CONFIG_ZX297520V3E_MDL_AB
-#if defined(CONFIG_ZX297520V3E_MDL_AB) || defined(CONFIG_ZX297520V3E_VEHICLE_DC)
+#if defined(CONFIG_ZX297520V3E_MDL_AB) || defined(CONFIG_ZX297520V3E_VEHICLE_DC)|| defined(CONFIG_ZX297520V3E_VEHICLE_DC_REF)
 #define CFG_PRINTF       0
 #else
 #define CFG_PRINTF       1    
@@ -51,7 +51,7 @@
  * partition name
 ***/
 //#ifdef CONFIG_ZX297520V3E_MDL_AB
-#if defined(CONFIG_ZX297520V3E_MDL_AB) || defined(CONFIG_ZX297520V3E_VEHICLE_DC)
+#if defined(CONFIG_ZX297520V3E_MDL_AB) || defined(CONFIG_ZX297520V3E_VEHICLE_DC) || defined(CONFIG_ZX297520V3E_VEHICLE_DC_REF)
 #define M0_PARTITION_NAME       "cpurpm"
 #define UBOOT_IMAGE    	    	"uboot"
 #define UBOOT2_IMAGE    	    "uboot2"
diff --git a/boot/common/src/loader/include/image.h b/boot/common/src/loader/include/image.h
index 26249e9..a2865d8 100755
--- a/boot/common/src/loader/include/image.h
+++ b/boot/common/src/loader/include/image.h
@@ -54,7 +54,7 @@
     partition_entry_t  table[MAX_ENTRYS];   
 }partition_table_t;
 
-//#ifdef CONFIG_ZX297520V3E_MDL_AB
+#if 0
 #if defined(CONFIG_ZX297520V3E_MDL_AB) || defined(CONFIG_ZX297520V3E_VEHICLE_DC)
 /*
 flags partition
@@ -116,7 +116,7 @@
 	T_BOOT_ENV            boot_env;
 }T_FOTA_FLAG_INFO;
 #endif
-
+#endif
 /*
  * Legacy format image header,  sizeof(image_header_t) = 64
  * all data in network byte order (aka natural aka bigendian).