summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-09-06 17:52:25 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-09-06 17:52:25 +0000
commit43404d39bc2272d4ea341baa74ab02fd53264e88 (patch)
treec4fc39b0a4270a6122d77ffd8a441d65d8a7f0ad
parent9c7a9df5d34a58b4249faa93cb1e2de23dad67aa (diff)
parente9844959abec7bdaeafb4cb9835b35a626cf6820 (diff)
downloadcrosshatch-43404d39bc2272d4ea341baa74ab02fd53264e88.tar.gz
Merge "gpt-utils: change retry count to 3" into qt-qpr1-dev
-rw-r--r--gpt-utils/gpt-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpt-utils/gpt-utils.h b/gpt-utils/gpt-utils.h
index c3321dfb..cb4226cd 100644
--- a/gpt-utils/gpt-utils.h
+++ b/gpt-utils/gpt-utils.h
@@ -72,7 +72,7 @@ extern "C" {
#define AB_PARTITION_ATTR_SLOT_ACTIVE (0x1<<2)
#define AB_PARTITION_ATTR_BOOT_SUCCESSFUL (0x1<<6)
#define AB_PARTITION_ATTR_UNBOOTABLE (0x1<<7)
-#define AB_SLOT_ACTIVE_VAL 0x3F
+#define AB_SLOT_ACTIVE_VAL 0x1F
#define AB_SLOT_INACTIVE_VAL 0x0
#define AB_SLOT_ACTIVE 1
#define AB_SLOT_INACTIVE 0