[Feature][ZXW-452]merge P54U02 version
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: I17e6795ab66e2b9d1cbbfec4b7c0028d666e177d
diff --git a/ap/app/include/libcpnv.h b/ap/app/include/libcpnv.h
index f2c4c30..4494165 100755
--- a/ap/app/include/libcpnv.h
+++ b/ap/app/include/libcpnv.h
@@ -118,7 +118,7 @@
* @return CPNV_OK 成功,CPNV_ERROR 失败
* @retval
* @note
- * @warning nvrofs里nvroall.bin备份到nvrofs2
+ * @warning nvrofs里nvroall.bin、nvroc0wall.bin备份到nvrofs2
*/
unsigned int cpnv_NvroBackup(void);
@@ -128,8 +128,18 @@
* @return CPNV_OK 成功,CPNV_ERROR 失败
* @retval
* @note
- * @warning nvrofs2里nvroall.bin恢复到nvrofs
+ * @warning nvrofs2里nvroall.bin、nvroc0wall.bin恢复到nvrofs
*/
unsigned int cpnv_NvroRestore(void);
+/**
+ * @brief nvro完整性检查
+ * @param flag: 2 检查nvroall.bin和nvroc0wall.bin; 其他值只检查nvroall.bin
+ * @return CPNV_OK 成功,CPNV_ERROR 失败
+ * @retval
+ * @note
+ * @warning 执行cpnv_NvroBackup后,才会进行真正检查
+ */
+unsigned int cpnv_nvro_check(int flag);
+
#endif // __LIBCPNV_H