summaryrefslogtreecommitdiff
path: root/include/mmc.h
diff options
context:
space:
mode:
authorAnup Patel <Anup.Patel@wdc.com>2019-07-08 04:10:55 +0000
committerPeng Fan <peng.fan@nxp.com>2019-07-15 10:30:08 +0800
commita897269c932999a5c028654489ad68baa6806fdb (patch)
tree9cc096cc72dcebfe26b44f6539dc3c22ec7ecde0 /include/mmc.h
parent05e35d429745253752b68f73146c22268ec9a5a8 (diff)
cmd: Remove mmc_spi command
The mmc_spi command was added to manually setup MMC over SPI bus using command. This was required by the legacy non-DM MMC_SPI driver. With DM based MMC_SPI driver in-place, we can now use all general storge commands and mmc command for MMC over SPI bus hence we remove the mmc_spi command all it's references. Suggested-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 032873c2ff..0ef891f5c2 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -824,7 +824,6 @@ void mmc_set_preinit(struct mmc *mmc, int preinit);
#else
#define mmc_host_is_spi(mmc) 0
#endif
-struct mmc *mmc_spi_init(uint bus, uint cs, uint speed, uint mode);
void board_mmc_power_init(void);
int board_mmc_init(bd_t *bis);