diff options
Diffstat (limited to 'boot_control.cpp')
-rw-r--r-- | boot_control.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/boot_control.cpp b/boot_control.cpp index 899b6e2..6e11d2e 100644 --- a/boot_control.cpp +++ b/boot_control.cpp @@ -536,14 +536,12 @@ int set_active_boot_slot(struct boot_control_module *module, unsigned slot) //actual names. To do this we append the slot suffix to every member //in the list. for (i = 0; i < ARRAY_SIZE(ptn_list); i++) { - //XBL & XBL_CFG are handled differrently for ufs devices so - //ignore them - if (is_ufs && (!strncmp(ptn_list[i], - PTN_XBL, - strlen(PTN_XBL)) - || !strncmp(ptn_list[i], - PTN_XBL_CFG, - strlen(PTN_XBL_CFG)))) + //XBL, XBL_CFG, MULTIIMGOEM, MULTIIMGQTI are handled differrently + //for ufs devices so ignore them. + if (is_ufs && (!strncmp(ptn_list[i],PTN_XBL,strlen(PTN_XBL)) + || !strncmp(ptn_list[i],PTN_XBL_CFG,strlen(PTN_XBL_CFG)) + || !strncmp(ptn_list[i],PTN_MULTIIMGOEM,strlen(PTN_MULTIIMGOEM)) + || !strncmp(ptn_list[i],PTN_MULTIIMGQTI,strlen(PTN_MULTIIMGQTI)))) continue; //The partition list will be the list of _a partitions string cur_ptn = ptn_list[i]; |