summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWinter Wang <wente.wang@nxp.com>2016-10-28 19:39:56 +0800
committerWinter Wang <wente.wang@nxp.com>2016-11-15 13:41:52 +0800
commit6307b157ad39c56b52fceff0584d084415abb79f (patch)
tree2798044d044f8397f08970dd3966bff63847e604 /lib
parentdcc43cfc4eb29cb6c1bc1adbfbea50b7a13bb328 (diff)
downloadu-boot-imx-6307b157ad39c56b52fceff0584d084415abb79f.zip
u-boot-imx-6307b157ad39c56b52fceff0584d084415abb79f.tar.gz
u-boot-imx-6307b157ad39c56b52fceff0584d084415abb79f.tar.bz2
MA-8986-4 libavb: modify max num of rollback_index slot to 4
modify AVB_MAX_NUMBER_OF_ROLLBACK_INDEX_SLOTS to 4 Signed-off-by: Winter Wang <wente.wang@nxp.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/libavb/avb_slot_verify.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libavb/avb_slot_verify.h b/lib/libavb/avb_slot_verify.h
index 1e660ca..87a6798 100644
--- a/lib/libavb/avb_slot_verify.h
+++ b/lib/libavb/avb_slot_verify.h
@@ -56,7 +56,7 @@ typedef enum {
const char* avb_slot_verify_result_to_string(AvbSlotVerifyResult result);
/* Maximum number of rollback index slots number supported. */
-#define AVB_MAX_NUMBER_OF_ROLLBACK_INDEX_SLOTS 32
+#define AVB_MAX_NUMBER_OF_ROLLBACK_INDEX_SLOTS 4
/* AvbPartitionData contains data loaded from partitions when using
* avb_slot_verify(). The |partition_name| field contains the name of