diff options
-rw-r--r-- | arch/arm/mach-tegra/board-enterprise-memory.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-tegra/tegra3_dvfs.c | 7 |
2 files changed, 12 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-memory.c b/arch/arm/mach-tegra/board-enterprise-memory.c index 3212894cb049..4919ecf4bbd7 100644 --- a/arch/arm/mach-tegra/board-enterprise-memory.c +++ b/arch/arm/mach-tegra/board-enterprise-memory.c @@ -21,7 +21,7 @@ #include "board-enterprise.h" #include "tegra3_emc.h" - +#include "fuse.h" static const struct tegra_emc_table enterprise_emc_tables_h5tc2g[] = { { @@ -623,7 +623,9 @@ static const struct tegra_emc_table enterprise_emc_tables_h5tc2g[] = { int enterprise_emc_init(void) { - tegra_init_emc(enterprise_emc_tables_h5tc2g, - ARRAY_SIZE(enterprise_emc_tables_h5tc2g)); + if (tegra_get_revision() >= TEGRA_REVISION_A02) { + tegra_init_emc(enterprise_emc_tables_h5tc2g, + ARRAY_SIZE(enterprise_emc_tables_h5tc2g)); + } return 0; } diff --git a/arch/arm/mach-tegra/tegra3_dvfs.c b/arch/arm/mach-tegra/tegra3_dvfs.c index 39f6c2843ee0..24cbd0300d88 100644 --- a/arch/arm/mach-tegra/tegra3_dvfs.c +++ b/arch/arm/mach-tegra/tegra3_dvfs.c @@ -22,6 +22,8 @@ #include <linux/kobject.h> #include <linux/err.h> +#include <generated/mach-types.h> + #include "clock.h" #include "dvfs.h" #include "fuse.h" @@ -437,6 +439,11 @@ void __init tegra_soc_init_dvfs(void) tegra_dvfs_cpu_disabled = true; #endif + if (machine_is_tegra_enterprise() && tegra_get_revision() < TEGRA_REVISION_A02) { + printk("disabling core dvfs due to enterprise revision\n"); + tegra_dvfs_core_disabled = true; + } + BUG_ON(VDD_SAFE_STEP > (cpu_below_core + core_below_cpu)); /* |