summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/clock.c
diff options
context:
space:
mode:
authorPavan Kunapuli <pkunapuli@nvidia.com>2011-01-26 11:14:53 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:42:16 -0800
commit18e8afc5f9df7840300dc2d4870c000bd93cb64e (patch)
tree2d9624c68edc0f28dd1edf03dad16163365a0303 /arch/arm/mach-tegra/clock.c
parent71de29748a64ada33c431d056a2b8e2fabe16ae4 (diff)
arm: tegra: sdhci: Do not disable sdmmc4 clock
Do not switch off sdmmc4 clock. Also, removed ddr mode temporarily from linux mmc driver. Programming tap_delays and internal clock. Original-Change-Id: I830bf5e94ccd47e154c5ef9909e8bff1ff7754c0 Reviewed-on: http://git-master/r/17070 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Scott Williams <scwilliams@nvidia.com> Original-Change-Id: Ic1cff8dd85229fe903206f1dc9a967d600ba88c1 Rebase-Id: R9c15db46ec7f4073c03301dbc77ee5cb2f7800bd
Diffstat (limited to 'arch/arm/mach-tegra/clock.c')
-rw-r--r--arch/arm/mach-tegra/clock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c
index dec8937821bf..89a33790f602 100644
--- a/arch/arm/mach-tegra/clock.c
+++ b/arch/arm/mach-tegra/clock.c
@@ -34,6 +34,12 @@
#include "clock.h"
#include "dvfs.h"
+#ifdef CONFIG_ARCH_TEGRA_2x_SOC
+#define DISABLE_BOOT_CLOCKS 1
+#else
+#define DISABLE_BOOT_CLOCKS 0 /* !!!FIXME!!! DISABLED FOR EMMC ON CARDHU */
+#endif
+
/*
* Locking:
*
@@ -579,6 +585,7 @@ __setup("tegra_keep_boot_clocks", tegra_keep_boot_clocks_setup);
*/
static int __init tegra_init_disable_boot_clocks(void)
{
+#if DISABLE_BOOT_CLOCKS
unsigned long flags;
struct clk *c;
@@ -604,6 +611,7 @@ static int __init tegra_init_disable_boot_clocks(void)
}
mutex_unlock(&clock_list_lock);
+#endif
return 0;
}
late_initcall(tegra_init_disable_boot_clocks);