[Feature][T8TSK-60][FOTA]FOTA library adds OEMAPP, OEMAPP2 full package for both partitions, and sub-package upgrade(NewGSW)
Change-Id: Iaf2313fdaed8a31e6fb9f0755f25af8253fbfd8e
diff --git a/src/lynq/lib/liblynq-fota/include/iot_rock.h b/src/lynq/lib/liblynq-fota/include/iot_rock.h
index 3fe2427..aa7236d 100755
--- a/src/lynq/lib/liblynq-fota/include/iot_rock.h
+++ b/src/lynq/lib/liblynq-fota/include/iot_rock.h
@@ -26,16 +26,20 @@
#define PATCH_MD1IMG (4)
#define PATCH_MD1DSP (5)
#define PATCH_VBMETA (6)
-#define PATCH_BL33 (7)
-#define FULL_SYSTEM (8)
-#define FULL_BOOT (9)
-#define FULL_TEE (10)
-#define FULL_MD1IMG (11)
-#define FULL_MD1DSP (12)
-#define FULL_VBMETA (13)
-#define FULL_BL33 (14)
+#define PATCH_OEMAPP (7)
+#define PATCH_OEMAPP2 (8)
+#define PATCH_BL33 (9)
+#define FULL_SYSTEM (10)
+#define FULL_BOOT (11)
+#define FULL_TEE (12)
+#define FULL_MD1IMG (13)
+#define FULL_MD1DSP (14)
+#define FULL_VBMETA (15)
+#define FULL_OEMAPP (16)
+#define FULL_OEMAPP2 (17)
+#define FULL_BL33 (18)
-#define MAX_OTA_ROLE (14)
+#define MAX_OTA_ROLE (18)
@@ -70,6 +74,8 @@
unsigned int md1img; //md1img 差分包大小
unsigned int md1dsp; //md1dsp 差分包大小
unsigned int vbmeta; //vbmeta 差分包大小
+ unsigned int oemapp;
+ unsigned int oemapp2;
unsigned int bl33; //bl33 差分包大小
unsigned int full_sys; //system 整包大小
unsigned int full_boot; //boot
@@ -77,7 +83,9 @@
unsigned int full_md1img; // 整包大小
unsigned int full_md1dsp; //md1dsp 整包大小
unsigned int full_vbmeta; //vbmeta 整包大小
- unsigned int full_bl33; //bl33 整包大小
+ unsigned int full_oemapp;
+ unsigned int full_oemapp2;
+ unsigned int full_bl33; //bl33 整包大小
} DELTA_HEAD;
typedef struct {
@@ -113,7 +121,7 @@
//#define DELTA_HEARD_SIZE (4*5)
-#define DELTA_HEARD_SIZE (4*7 + 4*7)
+#define DELTA_HEARD_SIZE (4*9 + 4*9)
#define DELTA_FULL_HEARD_SIZE 8