u-boot/include/spl_ab.h
.. .. @@ -6,6 +6,7 @@ 6 6 #ifndef _SPL_AB_H_ 7 7 #define _SPL_AB_H_ 8 8 9 +#include <spl.h>9 10 #include <android_avb/libavb_ab.h> 10 11 #include <android_avb/avb_ab_flow.h> 11 12 .. .. @@ -45,4 +46,13 @@ 45 46 */ 46 47 int spl_ab_decrease_tries(struct blk_desc *dev_desc); 47 48 49 +/*50 + * spl_ab_decrease_reset51 + *52 + * @dev_desc: block description53 + *54 + * return: 0 success, others fail.55 + */56 +int spl_ab_decrease_reset(struct blk_desc *dev_desc);57 +48 58 #endif