summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Porter <mporter@ti.com>2013-03-15 10:07:08 +0000
committerTom Rini <trini@ti.com>2013-03-24 12:49:11 -0400
commit26fa57842b2a0387e9e8a1da9cdee77bb467e3ee (patch)
treee37ba9e93a9fd36f12896eb27b7aef5fac297d41
parent4fab8d7bbd5784771594f3d8c38827e7306381c3 (diff)
downloadu-boot-imx-26fa57842b2a0387e9e8a1da9cdee77bb467e3ee.zip
u-boot-imx-26fa57842b2a0387e9e8a1da9cdee77bb467e3ee.tar.gz
u-boot-imx-26fa57842b2a0387e9e8a1da9cdee77bb467e3ee.tar.bz2
am33xx: support ti814x mmc reference clock
TI814x has a 192MHz hsmmc reference clock. Select that clock rate when building for TI814x. Signed-off-by: Matt Porter <mporter@ti.com>
-rw-r--r--arch/arm/include/asm/arch-am33xx/mmc_host_def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/mmc_host_def.h b/arch/arm/include/asm/arch-am33xx/mmc_host_def.h
index 33c9c83..51ba791 100644
--- a/arch/arm/include/asm/arch-am33xx/mmc_host_def.h
+++ b/arch/arm/include/asm/arch-am33xx/mmc_host_def.h
@@ -24,4 +24,9 @@
#define OMAP_HSMMC1_BASE 0x48060100
#define OMAP_HSMMC2_BASE 0x481D8100
+#if defined(CONFIG_TI814X)
+#undef MMC_CLOCK_REFERENCE
+#define MMC_CLOCK_REFERENCE 192 /* MHz */
+#endif
+
#endif /* MMC_HOST_DEF_H */