[U-Boot] [PATCH v2 1/2] mmc: sdhci: use the host version value in sdhci_setup_cfg
Minkyu Kang
mk7.kang at samsung.com
Mon Sep 26 03:10:51 CEST 2016
On 26/09/16 08:10, Jaehoon Chung wrote:
> "host->version" isn't a SoC specific value.
> It doesn't need to get in each SoC drivers.
>
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
> ---
> Changelog for V2:
> - None
>
> drivers/mmc/atmel_sdhci.c | 1 -
> drivers/mmc/bcm2835_sdhci.c | 1 -
> drivers/mmc/kona_sdhci.c | 5 -----
> drivers/mmc/msm_sdhci.c | 3 ---
> drivers/mmc/mv_sdhci.c | 4 ----
> drivers/mmc/s5p_sdhci.c | 1 -
> drivers/mmc/sdhci.c | 6 +++++-
> drivers/mmc/spear_sdhci.c | 5 -----
> drivers/mmc/zynq_sdhci.c | 2 --
> 9 files changed, 5 insertions(+), 23 deletions(-)
>
> diff --git a/drivers/mmc/s5p_sdhci.c b/drivers/mmc/s5p_sdhci.c
> index 3bace21..7827b28 100644
> --- a/drivers/mmc/s5p_sdhci.c
> +++ b/drivers/mmc/s5p_sdhci.c
> @@ -71,7 +71,6 @@ static int s5p_sdhci_core_init(struct sdhci_host *host)
> SDHCI_QUIRK_32BIT_DMA_ADDR |
> SDHCI_QUIRK_WAIT_SEND_CMD | SDHCI_QUIRK_USE_WIDE8;
> host->voltages = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_VDD_165_195;
> - host->version = sdhci_readw(host, SDHCI_HOST_VERSION);
>
> host->set_control_reg = &s5p_sdhci_set_control_reg;
> host->set_clock = set_mmc_clk;
for s5p.
Reviewed-by: Minkyu Kang <mk7.kang at samsung.com>
Thanks,
Minkyu Kang.
More information about the U-Boot
mailing list