diff options
author | Tom Rini <trini@ti.com> | 2013-09-20 14:06:10 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-09-20 14:06:10 -0400 |
commit | d0b961684eb5757211e9463f5f24c3175e453798 (patch) | |
tree | 8983f37db54071f95c39be404e48b7116b808fda /include/mmc.h | |
parent | 03c1bb242548e4e9d267d784861ccd69a1887aa0 (diff) | |
parent | 2c011847c129491084a19c753a039a3441b7dce4 (diff) | |
download | u-boot-imx-d0b961684eb5757211e9463f5f24c3175e453798.zip u-boot-imx-d0b961684eb5757211e9463f5f24c3175e453798.tar.gz u-boot-imx-d0b961684eb5757211e9463f5f24c3175e453798.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-mmc
Diffstat (limited to 'include/mmc.h')
-rw-r--r-- | include/mmc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h index 228d771..214b9ed 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -335,7 +335,11 @@ 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)->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); |