summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAnish Trivedi <anish@freescale.com>2010-07-16 12:35:32 -0500
committerAnish Trivedi <anish@freescale.com>2010-07-20 09:50:23 -0500
commit1bc5e5f2cee211a74ee79e0eb5f7f37a3db387f4 (patch)
tree01f3f940cf9883c7b3291e413d090262abcf49c4 /common
parent592ec82029b2c69386bdf9c82af4614687afe191 (diff)
downloadu-boot-imx-1bc5e5f2cee211a74ee79e0eb5f7f37a3db387f4.zip
u-boot-imx-1bc5e5f2cee211a74ee79e0eb5f7f37a3db387f4.tar.gz
u-boot-imx-1bc5e5f2cee211a74ee79e0eb5f7f37a3db387f4.tar.bz2
ENGR00125036 Uboot Add eMMC 4.4 support
Enable DDR mode on ESDHC controller and mmc library Enable 8-bit support in mmc library Signed-off-by: Anish Trivedi <anish@freescale.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_mmc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c
index 1061dab..139b1e8 100644
--- a/common/cmd_mmc.c
+++ b/common/cmd_mmc.c
@@ -138,6 +138,12 @@ static void print_mmcinfo(struct mmc *mmc)
printf("High Capacity: %s\n", mmc->high_capacity ? "Yes" : "No");
printf("Capacity: %lld\n", mmc->capacity);
+#ifdef CONFIG_EMMC_DDR_MODE
+ if (mmc->bus_width == EMMC_MODE_4BIT_DDR ||
+ mmc->bus_width == EMMC_MODE_8BIT_DDR)
+ printf("Bus Width: %d-bit DDR\n", (mmc->bus_width >> 8));
+ else
+#endif
printf("Bus Width: %d-bit\n", mmc->bus_width);
#ifdef CONFIG_BOOT_PARTITION_ACCESS
if (mmc->boot_size_mult == 0) {