Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #include <linux/mmc/host.h>
0003 #include <linux/platform_data/mmc-omap.h>
0004 
0005 #define OMAP15XX_NR_MMC     1
0006 #define OMAP16XX_NR_MMC     2
0007 #define OMAP1_MMC_SIZE      0x080
0008 #define OMAP1_MMC1_BASE     0xfffb7800
0009 #define OMAP1_MMC2_BASE     0xfffb7c00  /* omap16xx only */
0010 
0011 #if IS_ENABLED(CONFIG_MMC_OMAP)
0012 void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data,
0013                 int nr_controllers);
0014 #else
0015 static inline void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data,
0016                 int nr_controllers)
0017 {
0018 }
0019 #endif