sm6375-common: [PATCH] fixup! munch: gpt-utils: Update PTN_SWAP_LIST and handle multiimg(oem/qti)

Change-Id: Iee2dff5e4550239319326e4c707f89006c13ddb8
This commit is contained in:
Bruno Martins
2023-06-05 04:49:35 +03:00
committed by boedhack99
parent 140cb9d3b0
commit 02fe544439

View File

@@ -241,7 +241,7 @@ static int gpt_boot_chain_swap(const uint8_t *pentries_start,
uint8_t ptn_swap[PTN_ENTRY_SIZE];
//Skip the xbl, multiimgoem, multiimgqti partitions on UFS devices. That is handled
//seperately.
if ((gpt_utils_is_ufs_device() && !strncmp(ptn_swap_list[i],PTN_XBL,strlen(PTN_XBL)))
if (gpt_utils_is_ufs_device() && !strncmp(ptn_swap_list[i],PTN_XBL,strlen(PTN_XBL))
|| !strncmp(ptn_swap_list[i],PTN_MULTIIMGOEM,strlen(PTN_MULTIIMGOEM))
|| !strncmp(ptn_swap_list[i],PTN_MULTIIMGQTI,strlen(PTN_MULTIIMGQTI)))
continue;