diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-14 14:02:56 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-26 20:50:29 -0600 |
commit | 9cf7b1a74c8c17145e39d34893cce763e098efd2 (patch) | |
tree | 0c60b7a5969d2b24c1cff57faef1c6fb7ad1ad92 /include | |
parent | e98dd20ccec30311dddd165f945c7ce0dedef6db (diff) | |
download | u-boot-9cf7b1a74c8c17145e39d34893cce763e098efd2.tar.gz |
mmc: Drop dead mmc code for non-generic MMC
All boards that use MMC define CONFIG_GENERIC_MMC now, so we can drop this
old code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/mmc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/mmc.h b/include/mmc.h index 056296e908..7fdfc324fe 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -491,16 +491,12 @@ int mmc_start_init(struct mmc *mmc); */ void mmc_set_preinit(struct mmc *mmc, int preinit); -#ifdef CONFIG_GENERIC_MMC #ifdef CONFIG_MMC_SPI #define mmc_host_is_spi(mmc) ((mmc)->cfg->host_caps & MMC_MODE_SPI) #else #define mmc_host_is_spi(mmc) 0 #endif struct mmc *mmc_spi_init(uint bus, uint cs, uint speed, uint mode); -#else -int mmc_legacy_init(int verbose); -#endif void board_mmc_power_init(void); int board_mmc_init(bd_t *bis); |