]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
am33xx: support ti814x mmc reference clock
authorMatt Porter <mporter@ti.com>
Fri, 15 Mar 2013 10:07:08 +0000 (10:07 +0000)
committerTom Rini <trini@ti.com>
Sun, 24 Mar 2013 16:49:11 +0000 (12:49 -0400)
TI814x has a 192MHz hsmmc reference clock. Select that clock rate
when building for TI814x.

Signed-off-by: Matt Porter <mporter@ti.com>
arch/arm/include/asm/arch-am33xx/mmc_host_def.h

index 33c9c838924d663a8fb2e8a6f464155ccbd12610..51ba79190a72b958f193da55bc0cb08be82f6776 100644 (file)
@@ -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 */