diff options
author | Siddeswar Aluganti <salugant@codeaurora.org> | 2022-03-20 19:02:04 -0300 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2023-01-05 21:30:23 +0530 |
commit | f84b614229fb517e286de6e72c869a7ef24d8d64 (patch) | |
tree | 4c2ce231110272e9f10cb19c5427bd1729a95b41 /gpt-utils/gpt-utils.h | |
parent | 879002a08cc9faa1a4e8b167f579650d10e79e21 (diff) |
veux: gpt-utils: Update PTN_SWAP_LIST and handle multiimg(oem/qti),
* Update PTN_SWAP_LIST to reflect partition entry changes
to BOOT LUN and handle "multiimgoem", "multiimgqti"
partitions, similar to other BOOT LUN partitions.
Diffstat (limited to 'gpt-utils/gpt-utils.h')
-rw-r--r-- | gpt-utils/gpt-utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gpt-utils/gpt-utils.h b/gpt-utils/gpt-utils.h index aea9860..3872663 100644 --- a/gpt-utils/gpt-utils.h +++ b/gpt-utils/gpt-utils.h @@ -80,7 +80,9 @@ extern "C" { #define AB_SLOT_B_SUFFIX "_b" #define PTN_XBL "xbl" #define PTN_XBL_CFG "xbl_config" -#define PTN_SWAP_LIST PTN_XBL, PTN_XBL_CFG, "sbl1", "rpm", "tz", "aboot", "abl", "hyp", "lksecapp", "keymaster", "cmnlib", "cmnlib32", "cmnlib64", "pmic", "apdp", "devcfg", "hosd", "keystore", "msadp", "mdtp", "mdtpsecapp", "dsp", "aop", "qupfw", "vbmeta", "dtbo", "imagefv", "ImageFv", "multiimgoem", "multiimgqti", "uefisecapp", "vm-bootsys", "shrm", "cpucp", "featenabler", "vbmeta_system" +#define PTN_MULTIIMGOEM "multiimgoem" +#define PTN_MULTIIMGQTI "multiimgqti" +#define PTN_SWAP_LIST PTN_XBL, PTN_XBL_CFG, PTN_MULTIIMGOEM, PTN_MULTIIMGQTI, "sbl1", "rpm", "tz", "aboot", "abl", "hyp", "lksecapp", "keymaster", "cmnlib", "cmnlib32", "cmnlib64", "pmic", "apdp", "devcfg", "hosd", "keystore", "msadp", "mdtp", "mdtpsecapp", "dsp", "aop", "qupfw", "vbmeta", "dtbo", "imagefv", "ImageFv", "uefisecapp", "vm-bootsys", "shrm", "cpucp", "featenabler", "vbmeta_system" #define AB_PTN_LIST PTN_SWAP_LIST, "boot", "vendor_boot", "system", "system_ext", "product", "vendor", "odm", "modem", "bluetooth" #define BOOT_DEV_DIR "/dev/block/bootdevice/by-name" |