s5pc110: SDHCI-s3c can override host capabilities
Subsystems (3)
PATCH 10/20 s5pc110: SDHCI-s3c can override host capabilities
From: Kyungmin Park <[email protected]>
Each board can override the default sdhci host capabilities. Some board has broken features by hardwares and support 8-bit bandwidth.
Signed-off-by Kyungmin Park <[email protected]>
Cc <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/arm/plat-samsung/dev-hsmmc.c | 2 ++ arch/arm/plat-samsung/dev-hsmmc1.c | 2 ++ arch/arm/plat-samsung/dev-hsmmc2.c | 2 ++ 3 files changed, 6 insertions(+)
arch/arm/plat-samsung/dev-hsmmc.c renamed from arch/arm/plat-samsung/dev-hsmmc.c~s5pc110-sdhci-s3c-can-override-host-capabilities +2 -0
@@ -70,4 +70,6 @@ void s3c_sdhci0_set_platdata(struct s3c_ set->cfg_gpio = pd->cfg_gpio;if (pd->cfg_card) set->cfg_card = pd->cfg_card; +if (pd->host_caps) + set->host_caps = pd->host_caps; }
arch/arm/plat-samsung/dev-hsmmc1.c renamed from arch/arm/plat-samsung/dev-hsmmc1.c~s5pc110-sdhci-s3c-can-override-host-capabilities +2 -0
@@ -70,4 +70,6 @@ void s3c_sdhci1_set_platdata(struct s3c_ set->cfg_gpio = pd->cfg_gpio;if (pd->cfg_card) set->cfg_card = pd->cfg_card; +if (pd->host_caps) + set->host_caps = pd->host_caps; }
arch/arm/plat-samsung/dev-hsmmc2.c renamed from arch/arm/plat-samsung/dev-hsmmc2.c~s5pc110-sdhci-s3c-can-override-host-capabilities +2 -0
@@ -71,4 +71,6 @@ void s3c_sdhci2_set_platdata(struct s3c_ set->cfg_gpio = pd->cfg_gpio;if (pd->cfg_card) set->cfg_card = pd->cfg_card; +if (pd->host_caps) + set->host_caps = pd->host_caps; }
_