summaryrefslogtreecommitdiff
path: root/drivers/fastboot/fastboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/fastboot/fastboot.c')
-rw-r--r--drivers/fastboot/fastboot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/fastboot/fastboot.c b/drivers/fastboot/fastboot.c
index e775fab..a922b30 100644
--- a/drivers/fastboot/fastboot.c
+++ b/drivers/fastboot/fastboot.c
@@ -330,10 +330,8 @@ static int fastboot_init_mmc_sata_ptable(void)
}
/* multiple boot paritions for eMMC 4.3 later */
-#ifdef CONFIG_BOOT_PARTITION_ACCESS
- if (mmc->boot_size_mult)
+ if (mmc->part_config != MMCPART_NOAVAILABLE)
boot_partition = 1;
-#endif
}
memset((char *)ptable, 0,