summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/fastboot/fastboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/fastboot/fastboot.c b/drivers/fastboot/fastboot.c
index 97572cc..e775fab 100644
--- a/drivers/fastboot/fastboot.c
+++ b/drivers/fastboot/fastboot.c
@@ -330,8 +330,10 @@ 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)
boot_partition = 1;
+#endif
}
memset((char *)ptable, 0,