summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-cardhu-sdhci.c
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-08-30 15:11:20 +0530
committerVarun Colbert <vcolbert@nvidia.com>2011-08-30 19:30:33 -0700
commit7d17aa1d2c5abe53ed661cc076d0abc90db8a743 (patch)
tree4c23a15078464a7873d0b0df50e260c6c50c40f5 /arch/arm/mach-tegra/board-cardhu-sdhci.c
parentbf78b43d6527c52ead5407bb19504a66220f171b (diff)
arm: tegra: cardhu: Support for PM305
Adding support for PM305. bug 846246 Change-Id: Ib036c67c12984668e0b7153f76a1a1d44c5be14f Reviewed-on: http://git-master/r/49820 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-sdhci.c')
-rw-r--r--arch/arm/mach-tegra/board-cardhu-sdhci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-sdhci.c b/arch/arm/mach-tegra/board-cardhu-sdhci.c
index 0521876e816b..89644aa76aee 100644
--- a/arch/arm/mach-tegra/board-cardhu-sdhci.c
+++ b/arch/arm/mach-tegra/board-cardhu-sdhci.c
@@ -341,7 +341,8 @@ int __init cardhu_sdhci_init(void)
unsigned int rc = 0;
struct board_info board_info;
tegra_get_board_info(&board_info);
- if (board_info.board_id == BOARD_PM269) {
+ if ((board_info.board_id == BOARD_PM269) ||
+ (board_info.board_id == BOARD_PM305)) {
tegra_sdhci_platform_data2.max_clk = 12000000;
rc = pm269_sd_wp_gpio_init();
if (!rc) {