diff options
author | Stefan Roese <sr@denx.de> | 2023-02-10 13:23:51 +0100 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2023-04-10 12:17:50 +0900 |
commit | c06a568473d46f5cab64591fde7b56da1facb7c2 (patch) | |
tree | 18a39969780bf5b573801763c51be35932188e7d | |
parent | 46beaec835d9828ceaafe070401cb4efb80b4fe3 (diff) | |
download | u-boot-c06a568473d46f5cab64591fde7b56da1facb7c2.zip u-boot-c06a568473d46f5cab64591fde7b56da1facb7c2.tar.gz u-boot-c06a568473d46f5cab64591fde7b56da1facb7c2.tar.bz2 |
mmc: mv_sdhci: Remove CONFIG_MMC_SDHCI_IO_ACCESSORS support
CONFIG_MMC_SDHCI_IO_ACCESSORS is not supported and/or used by this
driver so let's remove these unused parts completely.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | drivers/mmc/mv_sdhci.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/mmc/mv_sdhci.c b/drivers/mmc/mv_sdhci.c index 50d03b7..42fa735 100644 --- a/drivers/mmc/mv_sdhci.c +++ b/drivers/mmc/mv_sdhci.c @@ -42,10 +42,6 @@ static void sdhci_mvebu_mbus_config(void __iomem *base) #ifndef CONFIG_DM_MMC -#ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS -static struct sdhci_ops mv_ops; -#endif /* CONFIG_MMC_SDHCI_IO_ACCESSORS */ - int mv_sdh_init(unsigned long regbase, u32 max_clk, u32 min_clk, u32 quirks) { struct sdhci_host *host = NULL; @@ -59,10 +55,6 @@ int mv_sdh_init(unsigned long regbase, u32 max_clk, u32 min_clk, u32 quirks) host->ioaddr = (void *)regbase; host->quirks = quirks; host->max_clk = max_clk; -#ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS - memset(&mv_ops, 0, sizeof(struct sdhci_ops)); - host->ops = &mv_ops; -#endif /* Configure SDHCI MBUS mbus bridge windows */ sdhci_mvebu_mbus_config((void __iomem *)regbase); |