[U-Boot] [PATCH v2 7/9] am33xx: support ti814x mmc reference clock
Peter Korsgaard
jacmet at sunsite.dk
Sun Mar 3 23:34:08 CET 2013
>>>>> "Matt" == Matt Porter <mporter at ti.com> writes:
Matt> TI814x has a 192MHz hsmmc reference clock. Select that clock rate
Matt> when building for TI814x.
Matt> Signed-off-by: Matt Porter <mporter at ti.com>
Acked-by: Peter Korsgaard <jacmet at sunsite.dk>
Did you figure out why it was working for you with 96 MHz ref?
Matt> ---
Matt> v2: no changes, new to the series
Matt> ---
Matt> arch/arm/include/asm/arch-am33xx/mmc_host_def.h | 4 ++++
Matt> 1 file changed, 4 insertions(+)
Matt> diff --git a/arch/arm/include/asm/arch-am33xx/mmc_host_def.h b/arch/arm/include/asm/arch-am33xx/mmc_host_def.h
Matt> index 1f597c0..e0a3b8b 100644
Matt> --- a/arch/arm/include/asm/arch-am33xx/mmc_host_def.h
Matt> +++ b/arch/arm/include/asm/arch-am33xx/mmc_host_def.h
Matt> @@ -153,7 +153,11 @@ typedef struct hsmmc {
Matt> #define MMC_CMD0 (INDEX(0) | RSP_TYPE_NONE | DP_NO_DATA | DDIR_WRITE)
Matt> /* Clock Configurations and Macros */
Matt> +#ifdef CONFIG_AM33XX
Matt> #define MMC_CLOCK_REFERENCE 96 /* MHz */
Matt> +#elif defined(CONFIG_TI814X)
Matt> +#define MMC_CLOCK_REFERENCE 192 /* MHz */
Matt> +#endif
Matt> #define mmc_reg_out(addr, mask, val)\
Matt> writel((readl(addr) & (~(mask))) | ((val) & (mask)), (addr))
Matt> --
Matt> 1.7.9.5
--
Bye, Peter Korsgaard
More information about the U-Boot
mailing list