mmc.h 523 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #include <linux/mmc/host.h>
  3. #include <linux/platform_data/mmc-omap.h>
  4. #define OMAP15XX_NR_MMC 1
  5. #define OMAP16XX_NR_MMC 2
  6. #define OMAP1_MMC_SIZE 0x080
  7. #define OMAP1_MMC1_BASE 0xfffb7800
  8. #define OMAP1_MMC2_BASE 0xfffb7c00 /* omap16xx only */
  9. #if IS_ENABLED(CONFIG_MMC_OMAP)
  10. void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data,
  11. int nr_controllers);
  12. #else
  13. static inline void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data,
  14. int nr_controllers)
  15. {
  16. }
  17. #endif