summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinyu Chen <xinyu.chen@freescale.com>2011-07-27 14:05:02 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2011-07-27 14:19:03 +0800
commit58e3b422d0a53d76537837b4dc64cea0686f99a4 (patch)
treee12bf411a3e95f9ecbe3bb21312d5e2f235017ef
parent037233386984756cbcbd48c63dbae04f42af2b34 (diff)
downloadu-boot-imx-58e3b422d0a53d76537837b4dc64cea0686f99a4.zip
u-boot-imx-58e3b422d0a53d76537837b4dc64cea0686f99a4.tar.gz
u-boot-imx-58e3b422d0a53d76537837b4dc64cea0686f99a4.tar.bz2
ENGR00153759 mx51: fix fastboot build failed without boot partition macro
In mx51 configuration, CONFIG_BOOT_PARTITION_ACCESS is not defined. This cause build error to fastboot.c Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
-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,