summaryrefslogtreecommitdiff
path: root/gpt-utils
diff options
context:
space:
mode:
authorFernando Lugo <flugo@google.com>2019-09-19 15:22:09 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-09-19 15:22:09 -0700
commitf09b786e3724f1a0ca06d12dfc126a8c2377cd04 (patch)
tree0397b698867b8996fb174b49ceb9b10c8b23b954 /gpt-utils
parent3eb869d2906f5d5578b299a8affa5b46826ffa11 (diff)
parent0e22c9a543fff7f8c603cb80115fbaf206013802 (diff)
downloadbonito-f09b786e3724f1a0ca06d12dfc126a8c2377cd04.tar.gz
Merge "gpt-utils: change retry count to 3" into qt-qpr1-dev am: e6d9230d8e
am: 0e22c9a543 Change-Id: I437f11ea28eef9425696efa9d2fb495efbb83e93
Diffstat (limited to 'gpt-utils')
-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 6fcf2e08..0051d2bd 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