summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2011-08-12 12:58:07 +0800
committerJustin Waters <justin.waters@timesys.com>2012-09-05 14:57:50 -0400
commit2d993d77673d89fbf105fe2f4925e113d03e59f0 (patch)
treed16739584df7eae3e63e682f2889a45bc6899842 /drivers
parent2d046ee5739cf1cd3bb53da6e0dd064e6870974e (diff)
ENGR00154666-4: Align u-boot mmc command with community
Change fastboot code for that fastboot uses mmc command to access card. Thus the code need to be modified to new mmc command. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'drivers')
-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 e775fabbcb..a922b3007f 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,