From a897269c932999a5c028654489ad68baa6806fdb Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Mon, 8 Jul 2019 04:10:55 +0000 Subject: 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 Signed-off-by: Anup Patel Reviewed-by: Bin Meng --- include/configs/UCP1020.h | 1 - include/mmc.h | 1 - 2 files changed, 2 deletions(-) (limited to 'include') 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); -- cgit v1.2.3