diff options
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/sdhci.h')
| -rw-r--r-- | arch/arm/plat-samsung/include/plat/sdhci.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/sdhci.h b/arch/arm/plat-samsung/include/plat/sdhci.h index 44018111a981..30844c263d03 100644 --- a/arch/arm/plat-samsung/include/plat/sdhci.h +++ b/arch/arm/plat-samsung/include/plat/sdhci.h | |||
| @@ -109,6 +109,7 @@ extern void s3c64xx_setup_sdhci2_cfg_gpio(struct platform_device *, int w); | |||
| 109 | extern void s5pv210_setup_sdhci0_cfg_gpio(struct platform_device *, int w); | 109 | extern void s5pv210_setup_sdhci0_cfg_gpio(struct platform_device *, int w); |
| 110 | extern void s5pv210_setup_sdhci1_cfg_gpio(struct platform_device *, int w); | 110 | extern void s5pv210_setup_sdhci1_cfg_gpio(struct platform_device *, int w); |
| 111 | extern void s5pv210_setup_sdhci2_cfg_gpio(struct platform_device *, int w); | 111 | extern void s5pv210_setup_sdhci2_cfg_gpio(struct platform_device *, int w); |
| 112 | extern void s5pv210_setup_sdhci3_cfg_gpio(struct platform_device *, int w); | ||
| 112 | 113 | ||
| 113 | /* S3C64XX SDHCI setup */ | 114 | /* S3C64XX SDHCI setup */ |
| 114 | 115 | ||
| @@ -270,10 +271,20 @@ static inline void s5pv210_default_sdhci2(void) | |||
| 270 | #endif | 271 | #endif |
| 271 | } | 272 | } |
| 272 | 273 | ||
| 274 | static inline void s5pv210_default_sdhci3(void) | ||
| 275 | { | ||
| 276 | #ifdef CONFIG_S3C_DEV_HSMMC3 | ||
| 277 | s3c_hsmmc3_def_platdata.clocks = s5pv210_hsmmc_clksrcs; | ||
| 278 | s3c_hsmmc3_def_platdata.cfg_gpio = s5pv210_setup_sdhci3_cfg_gpio; | ||
| 279 | s3c_hsmmc3_def_platdata.cfg_card = s5pv210_setup_sdhci_cfg_card; | ||
| 280 | #endif | ||
| 281 | } | ||
| 282 | |||
| 273 | #else | 283 | #else |
| 274 | static inline void s5pv210_default_sdhci0(void) { } | 284 | static inline void s5pv210_default_sdhci0(void) { } |
| 275 | static inline void s5pv210_default_sdhci1(void) { } | 285 | static inline void s5pv210_default_sdhci1(void) { } |
| 276 | static inline void s5pv210_default_sdhci2(void) { } | 286 | static inline void s5pv210_default_sdhci2(void) { } |
| 287 | static inline void s5pv210_default_sdhci3(void) { } | ||
| 277 | 288 | ||
| 278 | #endif /* CONFIG_S5PV210_SETUP_SDHCI */ | 289 | #endif /* CONFIG_S5PV210_SETUP_SDHCI */ |
| 279 | 290 | ||
