TI814x has a 192MHz hsmmc reference clock. Select that clock rate when building for TI814x.
Signed-off-by: Matt Porter <mpor...@ti.com> --- v4: no changes v3: no changes v2: no changes, new to the series --- arch/arm/include/asm/arch-am33xx/mmc_host_def.h | 4 ++++ 1 file changed, 4 insertions(+) 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 1f597c0..e0a3b8b 100644 --- a/arch/arm/include/asm/arch-am33xx/mmc_host_def.h +++ b/arch/arm/include/asm/arch-am33xx/mmc_host_def.h @@ -153,7 +153,11 @@ typedef struct hsmmc { #define MMC_CMD0 (INDEX(0) | RSP_TYPE_NONE | DP_NO_DATA | DDIR_WRITE) /* Clock Configurations and Macros */ +#ifdef CONFIG_AM33XX #define MMC_CLOCK_REFERENCE 96 /* MHz */ +#elif defined(CONFIG_TI814X) +#define MMC_CLOCK_REFERENCE 192 /* MHz */ +#endif #define mmc_reg_out(addr, mask, val)\ writel((readl(addr) & (~(mask))) | ((val) & (mask)), (addr)) -- 1.7.9.5 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot