]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: sdhci: remove the unnecessary arguments for sdhci_setup_cfg
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 26 Jul 2016 10:06:24 +0000 (19:06 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 5 Aug 2016 02:31:07 +0000 (11:31 +0900)
commit14bed52d276afd36b9674ee7aa2c2ad9d2f4e59e
treeca94e6432dd7394113c956e721aa115353ccee2b
parent6a879ec8e7ac9905ad10b98e9cd585622c64b17c
mmc: sdhci: remove the unnecessary arguments for sdhci_setup_cfg

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@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/msm_sdhci.c
drivers/mmc/rockchip_sdhci.c
drivers/mmc/sdhci.c
drivers/mmc/zynq_sdhci.c
include/sdhci.h