Skip to content

Commit

Permalink
s5pc110: SDHCI-s3c can override host capabilities
Browse files Browse the repository at this point in the history
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 <kyungmin.park@samsung.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Kyungmin Park authored and Linus Torvalds committed Aug 20, 2010
1 parent d5ed3a4 commit 944645c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/plat-samsung/dev-hsmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,6 @@ void s3c_sdhci0_set_platdata(struct s3c_sdhci_platdata *pd)
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;
}
2 changes: 2 additions & 0 deletions arch/arm/plat-samsung/dev-hsmmc1.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,6 @@ void s3c_sdhci1_set_platdata(struct s3c_sdhci_platdata *pd)
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;
}
2 changes: 2 additions & 0 deletions arch/arm/plat-samsung/dev-hsmmc2.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,6 @@ void s3c_sdhci2_set_platdata(struct s3c_sdhci_platdata *pd)
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;
}

0 comments on commit 944645c

Please sign in to comment.