ARM: tegra: dalmore: sdhci platform registration
R Raj Kumar [Wed, 24 Jul 2013 05:00:37 +0000 (10:00 +0530)]
Enabled sdhci registration through platform.
Set max clock limit to 156MHz for eMMC, SD and SDIO.

Bug 1249335

Change-Id: Id4893e4117693d94dc180b05bc01fa91cb4d6f59
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/252738
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Jeetesh Burman <jburman@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

arch/arm/mach-tegra/board-dalmore-sdhci.c

index 4f08247..06d3a09 100644 (file)
@@ -419,7 +419,7 @@ int __init dalmore_sdhci_init(void)
        tegra_get_board_info(&board_info);
        if (board_info.fab == BOARD_FAB_A05) {
                tegra_sdhci_platform_data2.wp_gpio = -1;
-               tegra_sdhci_platform_data0.max_clk_limit = 156000000;
+               dalmore_tegra_sdhci_platform_data0.max_clk_limit = 156000000;
                tegra_sdhci_platform_data2.max_clk_limit = 156000000;
        }
        platform_device_register(&tegra_sdhci_device3);