• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * MMC definitions for OMAP2
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 
9 struct twl4030_hsmmc_info {
10 	u8	mmc;		/* controller 1/2/3 */
11 	u8	wires;		/* 1/4/8 wires */
12 	int	gpio_cd;	/* or -EINVAL */
13 	int	gpio_wp;	/* or -EINVAL */
14 	int	ext_clock:1;	/* use external pin for input clock */
15 };
16 
17 #if	defined(CONFIG_TWL4030_CORE) && \
18 	(defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE) || \
19 	 defined(CONFIG_MMC_OMAP_HS) || defined(CONFIG_MMC_OMAP_HS_MODULE))
20 
21 void twl4030_mmc_init(struct twl4030_hsmmc_info *);
22 
23 #else
24 
twl4030_mmc_init(struct twl4030_hsmmc_info * info)25 static inline void twl4030_mmc_init(struct twl4030_hsmmc_info *info)
26 {
27 }
28 
29 #endif
30