Skip to content
Snippets Groups Projects
Unverified Commit f7b808b1 authored by Oleg Matcovschi's avatar Oleg Matcovschi Committed by Joshua Blanchard
Browse files

beckham: gpt-utils: Align partition swap list

Modify partition swap list to reflect only existing partitions.

Bug: 70214866

Change-Id: I2efe784efa97e3f2960d990a969fc729022a5ceb
parent dd53850d
No related branches found
No related tags found
No related merge requests found
...@@ -79,8 +79,12 @@ extern "C" { ...@@ -79,8 +79,12 @@ extern "C" {
#define AB_SLOT_A_SUFFIX "_a" #define AB_SLOT_A_SUFFIX "_a"
#define AB_SLOT_B_SUFFIX "_b" #define AB_SLOT_B_SUFFIX "_b"
#define PTN_XBL "xbl" #define PTN_XBL "xbl"
#define PTN_SWAP_LIST PTN_XBL, "rpm", "tz", "hyp", "storsec", "devcfg", "keymaster", "cmnlib", "cmnlib64", "prov", "pmic", "abl", "fsg", "vbmeta" #define PTN_SWAP_LIST PTN_XBL, \
#define AB_PTN_LIST PTN_SWAP_LIST, "modem", "dsp", "bluetooth", "logo", "boot", "system", "oem", "vendor", "dto" "abl", "cmnlib", "cmnlib64", "devcfg", \
"dto", "fsg", "hyp", "keymaster", "pmic", \
"prov", "rpm", "storsec", "tz", "vbmeta"
#define AB_PTN_LIST PTN_SWAP_LIST, "bluetooth", "boot", "dsp", "logo", "modem", "oem", "system", "vendor"
#define BOOT_DEV_DIR "/dev/block/bootdevice/by-name" #define BOOT_DEV_DIR "/dev/block/bootdevice/by-name"
/****************************************************************************** /******************************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment