aboutsummaryrefslogtreecommitdiff
path: root/include
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
parent05e35d429745253752b68f73146c22268ec9a5a8 (diff)
downloadu-boot-a897269c932999a5c028654489ad68baa6806fdb.zip
u-boot-a897269c932999a5c028654489ad68baa6806fdb.tar.gz
u-boot-a897269c932999a5c028654489ad68baa6806fdb.tar.bz2
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')
-rw-r--r--include/configs/UCP1020.h1
-rw-r--r--include/mmc.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index 268a41c..6a01a90 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -438,7 +438,6 @@
#ifdef CONFIG_MMC
#define CONFIG_SYS_FSL_ESDHC_ADDR CONFIG_SYS_MPC85xx_ESDHC_ADDR
-#define CONFIG_MMC_SPI
#endif
/* Misc Extra Settings */
diff --git a/include/mmc.h b/include/mmc.h
index 032873c..0ef891f 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);