sm6225-common: gpt-utils: Fix partition lists

Add/remove partitions and shuffle them to the proper list.
This should make all moto bengal devices work.

Removed: mdm1m9kefs3, spss
Added: recovery

Change-Id: I107d1c75cd44db02100042903f5794ed7efc8928
This commit is contained in:
Michael Bestas 2023-12-04 02:32:59 +02:00
parent 07b9309e97
commit 0e2004dc7e

View file

@ -80,8 +80,8 @@ 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", "vm-bootsys", "shrm", "cpucp", "prov", "spss", "storsec", "uefisecapp", "vbmeta_system"
#define AB_PTN_LIST PTN_SWAP_LIST, "boot", "system", "vendor", "odm", "modem", "bluetooth", "vendor_boot", "mdm1m9kefs3", "logo", "fsg"
#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", "vm-bootsys", "shrm", "cpucp", "logo", "prov", "recovery", "storsec", "uefisecapp", "vbmeta_system", "vendor_boot"
#define AB_PTN_LIST PTN_SWAP_LIST, "boot", "system", "vendor", "odm", "modem", "bluetooth", "fsg"
#define BOOT_DEV_DIR "/dev/block/bootdevice/by-name"
/******************************************************************************