On 26 July 2016 at 04:06, Jaehoon Chung <jh80.ch...@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.ch...@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 <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to