[U-Boot] mmc: sdhci: revert "mmc: sdhci: Claer high speed if not supported"

Jaehoon Chung jh80.chung at samsung.com
Fri Aug 5 04:26:53 CEST 2016


On 07/26/2016 07:03 PM, Jaehoon Chung wrote:
> This "commit 429790026021d522d51617217d4b86218cca5750" is wrong.
> SDHCI_QUIRK_NO_HISPD_BIT is for skipping to set CTRL_HISPD bit.
> 
> For example, Exynos didn't have CTRL_HISPD. But Highspeed mode
> is supported.
> (This quirks doesn't mean  that driver didn't support the Highseepd mode.)
> 
> Note: If driver didn't support the Highspeed Mode, use or add the other
> quirks.
> 
> After applied this patch, all Exynos SoCs are just running with 25MHz.


Applied on u-boot-mmc.

Best Regards,
Jaehoon Chung


> 
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
> ---
>  drivers/mmc/sdhci.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
> index 9fdbed8..1fa4038 100644
> --- a/drivers/mmc/sdhci.c
> +++ b/drivers/mmc/sdhci.c
> @@ -553,9 +553,6 @@ int sdhci_setup_cfg(struct mmc_config *cfg, const char *name, int buswidth,
>  			cfg->host_caps |= MMC_MODE_8BIT;
>  	}
>  
> -	if (quirks & SDHCI_QUIRK_NO_HISPD_BIT)
> -		cfg->host_caps &= ~(MMC_MODE_HS | MMC_MODE_HS_52MHz);
> -
>  	if (host_caps)
>  		cfg->host_caps |= host_caps;
>  
> 



More information about the U-Boot mailing list