[U-Boot] [PATCH 2/2] mmc: sdhci: remove the unnecessary argumetns for sdhci_setup_cfg

Simon Glass sjg at chromium.org
Mon Aug 1 04:20:50 CEST 2016


On 26 July 2016 at 04:06, Jaehoon Chung <jh80.chung at samsung.com> wrote:
> Some arguments don't need to pass to sdhci_setup_cfg.
> Generic variable can be used in sdhci_setup_cfg, and some arguments are
> already included in sdhci_host struct.
>
> It's enough that just pass the board specific things to sdhci_setup_cfg().
> After removing the unnecessary arguments, it's more simpler than before.
> It doesn't consider "Version" and "Capabilities" anymore in each SoC
> driver.
>
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
> ---
>  drivers/mmc/msm_sdhci.c  |  4 +---
>  drivers/mmc/sdhci.c      | 28 +++++++++++++++-------------
>  drivers/mmc/zynq_sdhci.c |  9 ++-------
>  include/sdhci.h          | 12 +++---------
>  4 files changed, 21 insertions(+), 32 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list