diff options
| author | Anup Patel <[email protected]> | 2019-07-08 04:10:55 +0000 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2019-07-15 10:30:08 +0800 |
| commit | a897269c932999a5c028654489ad68baa6806fdb (patch) | |
| tree | 9cc096cc72dcebfe26b44f6539dc3c22ec7ecde0 /include | |
| parent | 05e35d429745253752b68f73146c22268ec9a5a8 (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 <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/UCP1020.h | 1 | ||||
| -rw-r--r-- | include/mmc.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h index 268a41c82c6..6a01a904254 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 032873c2ff9..0ef891f5c26 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); |
