summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan QIAN <b32804@freescale.com>2012-07-17 14:02:32 +0800
committerJustin Waters <justin.waters@timesys.com>2012-09-12 11:05:52 -0400
commit7f8798712f1600409a0f0b306f5615c0c25c5764 (patch)
treec3d2b804b8a4109fb2a6f9d1ca9196ef5aa58737
parent70c0283cb4aadd6e0b806fd603cebe5248a060d4 (diff)
ENGR00217381-02: show sd/mmc clk freq for mmcinfo
It prints sd clk freq for cmd of mmcinfo, then it is much easier to tell which mode sd/mmc card is running at. Signed-off-by: Ryan QIAN <b32804@freescale.com>
-rw-r--r--common/cmd_mmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c
index fb818f249c..71561d3ee8 100644
--- a/common/cmd_mmc.c
+++ b/common/cmd_mmc.c
@@ -2,7 +2,7 @@
* (C) Copyright 2003
* Kyle Harris, kharris@nexus-tech.net
*
- * Copyright (C) 2010-2011 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2012 Freescale Semiconductor, Inc.
*
* See file CREDITS for list of people who contributed to this
* project.
@@ -110,6 +110,7 @@ static void print_mmcinfo(struct mmc *mmc)
printf("%s version %d.%d\n", IS_SD(mmc) ? "SD" : "MMC",
(mmc->version >> 4) & 0xf, mmc->version & 0xf);
+ printf("Clock: %d\n", mmc->clock);
printf("High Capacity: %s\n", mmc->high_capacity ? "Yes" : "No");
puts("Capacity: ");