summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra3_clocks.c
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-01-24 15:27:07 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-01-24 15:27:07 +0100
commitb37acc053dd43475e67e2733a352c4f77e4f65c2 (patch)
tree6457cb6903033df1ccc7d025637b134cb6b14d5e /arch/arm/mach-tegra/tegra3_clocks.c
parentd49a5dea0456773992edf0fa3b2d4e46e0f1ef6c (diff)
tegra: apalis_t30: initial Toradex Apalis T30 L4T support
Tested on early prototype Apalis T30 V1.0a module. Known issues: - ADC not integrated yet. - HDA not integrated yet. - CEC not integrated yet. - IrDA not integrated yet. - Keys not integrated yet therefore no way to wake from suspend. - 8-bit MMC1 slot card detection interrupt not working despite detection GPIO successfully being tested with GPIOConfig. Note: even 8-bit cards work fine if already plugged-in during boot. - PCIe limited to internal Gigabit Ethernet chip for now due to our proprietary way of resetting other ports which requires further integration into NVIDIA's driver.
Diffstat (limited to 'arch/arm/mach-tegra/tegra3_clocks.c')
-rw-r--r--arch/arm/mach-tegra/tegra3_clocks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/tegra3_clocks.c b/arch/arm/mach-tegra/tegra3_clocks.c
index 468f50dee329..fafa5a22157a 100644
--- a/arch/arm/mach-tegra/tegra3_clocks.c
+++ b/arch/arm/mach-tegra/tegra3_clocks.c
@@ -844,7 +844,7 @@ static int tegra3_cpu_clk_set_rate(struct clk *c, unsigned long rate)
if (c->dvfs) {
if (!c->dvfs->dvfs_rail)
return -ENOSYS;
-#ifndef CONFIG_MACH_COLIBRI_T30
+#if !defined(CONFIG_MACH_APALIS_T30) && !defined(CONFIG_MACH_COLIBRI_T30)
/* Hack: avoid extensive warnings being logged during boot-up. */
else if ((!c->dvfs->dvfs_rail->reg) &&
(clk_get_rate_locked(c) < rate)) {
@@ -852,7 +852,7 @@ static int tegra3_cpu_clk_set_rate(struct clk *c, unsigned long rate)
" ready may overclock CPU\n");
return -ENOSYS;
}
-#endif /* CONFIG_MACH_COLIBRI_T30 */
+#endif /* !CONFIG_MACH_APALIS_T30 & !CONFIG_MACH_COLIBRI_T30 */
}
/*