mmc.h 357 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #define OMAP24XX_NR_MMC 2
  3. #define OMAP2420_MMC_SIZE OMAP1_MMC_SIZE
  4. #define OMAP2_MMC1_BASE 0x4809c000
  5. #define OMAP4_MMC_REG_OFFSET 0x100
  6. struct omap_hwmod;
  7. #ifdef CONFIG_SOC_OMAP2420
  8. int omap_msdi_reset(struct omap_hwmod *oh);
  9. #else
  10. static inline int omap_msdi_reset(struct omap_hwmod *oh)
  11. {
  12. return 0;
  13. }
  14. #endif