summaryrefslogtreecommitdiff
path: root/gpt-utils/gpt-utils.h
diff options
context:
space:
mode:
authorOleg Matcovschi <omatcovschi@google.com>2018-01-16 13:41:15 -0800
committerOleg Matcovschi <omatcovschi@google.com>2018-01-16 16:25:17 -0800
commitb1f8a43f01a9a451555230b8a53e80b0564bfc50 (patch)
tree435b0d8baa82c724454f306266faf838c68d3a90 /gpt-utils/gpt-utils.h
parentdd02aceefed7917a6575f6c3f3808f20656a7c5e (diff)
downloadbonito-b1f8a43f01a9a451555230b8a53e80b0564bfc50.tar.gz
device:crosshatch: Align partition swap list.
Modify partition swap list to reflect only existing partitions. Bug: 70214866 Change-Id: I2efe784efa97e3f2960d990a969fc729022a5ceb
Diffstat (limited to 'gpt-utils/gpt-utils.h')
-rw-r--r--gpt-utils/gpt-utils.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gpt-utils/gpt-utils.h b/gpt-utils/gpt-utils.h
index cc7562c1..25a61e73 100644
--- a/gpt-utils/gpt-utils.h
+++ b/gpt-utils/gpt-utils.h
@@ -79,8 +79,12 @@ extern "C" {
#define AB_SLOT_A_SUFFIX "_a"
#define AB_SLOT_B_SUFFIX "_b"
#define PTN_XBL "xbl"
-#define PTN_SWAP_LIST PTN_XBL, "sbl1", "rpm", "tz", "aboot", "hyp", "lksecapp", "keymaster", "cmnlib", "cmnlib32", "cmnlib64", "pmic", "apdp", "devcfg", "hosd", "keystore", "msadp"
-#define AB_PTN_LIST PTN_SWAP_LIST, "boot", "system", "vendor", "modem", "bluetooth"
+#define PTN_SWAP_LIST PTN_XBL, \
+ "abl", "aop", "apdp", "cmnlib", "cmnlib64", \
+ "devcfg", "dtbo", "hyp", "keymaster", "msadp", \
+ "qupfw", "storsec", "tz", "vbmeta", "xbl_config"
+
+#define AB_PTN_LIST PTN_SWAP_LIST, "boot", "system", "vendor", "modem"
#define BOOT_DEV_DIR "/dev/block/bootdevice/by-name"
/******************************************************************************