|
@@ -78,6 +78,7 @@ extern void s3c64xx_setup_sdhci2_cfg_gpio(struct platform_device *, int w);
|
|
|
extern void s5pv210_setup_sdhci0_cfg_gpio(struct platform_device *, int w);
|
|
|
extern void s5pv210_setup_sdhci1_cfg_gpio(struct platform_device *, int w);
|
|
|
extern void s5pv210_setup_sdhci2_cfg_gpio(struct platform_device *, int w);
|
|
|
+extern void s5pv210_setup_sdhci3_cfg_gpio(struct platform_device *, int w);
|
|
|
|
|
|
/* S3C6400 SDHCI setup */
|
|
|
|
|
@@ -266,10 +267,22 @@ static inline void s5pv210_default_sdhci2(void)
|
|
|
static inline void s5pv210_default_sdhci2(void) { }
|
|
|
#endif /* CONFIG_S3C_DEV_HSMMC2 */
|
|
|
|
|
|
+#ifdef CONFIG_S3C_DEV_HSMMC3
|
|
|
+static inline void s5pv210_default_sdhci3(void)
|
|
|
+{
|
|
|
+ s3c_hsmmc3_def_platdata.clocks = s5pv210_hsmmc_clksrcs;
|
|
|
+ s3c_hsmmc3_def_platdata.cfg_gpio = s5pv210_setup_sdhci3_cfg_gpio;
|
|
|
+ s3c_hsmmc3_def_platdata.cfg_card = s5pv210_setup_sdhci_cfg_card;
|
|
|
+}
|
|
|
+#else
|
|
|
+static inline void s5pv210_default_sdhci3(void) { }
|
|
|
+#endif /* CONFIG_S3C_DEV_HSMMC3 */
|
|
|
+
|
|
|
#else
|
|
|
static inline void s5pv210_default_sdhci0(void) { }
|
|
|
static inline void s5pv210_default_sdhci1(void) { }
|
|
|
static inline void s5pv210_default_sdhci2(void) { }
|
|
|
+static inline void s5pv210_default_sdhci3(void) { }
|
|
|
#endif /* CONFIG_S5PC100_SETUP_SDHCI */
|
|
|
|
|
|
|