xref: /kernel/linux/linux-5.10/arch/arm/mach-omap1/mmc.h (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/arm/mach-omap1/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#include <linux/mmc/host.h>
38c2ecf20Sopenharmony_ci#include <linux/platform_data/mmc-omap.h>
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#define OMAP15XX_NR_MMC		1
68c2ecf20Sopenharmony_ci#define OMAP16XX_NR_MMC		2
78c2ecf20Sopenharmony_ci#define OMAP1_MMC_SIZE		0x080
88c2ecf20Sopenharmony_ci#define OMAP1_MMC1_BASE		0xfffb7800
98c2ecf20Sopenharmony_ci#define OMAP1_MMC2_BASE		0xfffb7c00	/* omap16xx only */
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#if IS_ENABLED(CONFIG_MMC_OMAP)
128c2ecf20Sopenharmony_civoid omap1_init_mmc(struct omap_mmc_platform_data **mmc_data,
138c2ecf20Sopenharmony_ci				int nr_controllers);
148c2ecf20Sopenharmony_ci#else
158c2ecf20Sopenharmony_cistatic inline void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data,
168c2ecf20Sopenharmony_ci				int nr_controllers)
178c2ecf20Sopenharmony_ci{
188c2ecf20Sopenharmony_ci}
198c2ecf20Sopenharmony_ci#endif
20

Indexes created Thu Nov 07 10:32:03 CST 2024