diff options
author | Alex Van Brunt <avanbrunt@nvidia.com> | 2013-07-19 12:44:40 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:32:53 -0700 |
commit | bd0037ae46f49acd3143c83da638fc24239d2c52 (patch) | |
tree | 3598bccf094185b73a55a8a68b7bd2eb57203b6a /arch/arm/mach-tegra | |
parent | c4bfc7838a2cafaf8bab536f657d24821d894fef (diff) |
arm: tegra12: Fix presilicon support for gk20a
Pre-silicon platforms have no way to powergate. So, abort powergate
on pre-silicon platforms.
Change-Id: Ib392ec52a8abf93d9cf4c0213ddad6560261def6
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/251461
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/powergate-t12x.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/powergate-t12x.c b/arch/arm/mach-tegra/powergate-t12x.c index e8064461ffa1..766700be812e 100644 --- a/arch/arm/mach-tegra/powergate-t12x.c +++ b/arch/arm/mach-tegra/powergate-t12x.c @@ -399,6 +399,9 @@ int hack_tegra12x_gpu_unpowergate(void) &tegra12x_powergate_partition_info[id]; struct regulator * gpu_reg; + if (!tegra_platform_is_silicon()) + return 0; + printk("%s(): start\n", __func__); gpu_reg = regulator_get(NULL, "vdd_gpu"); if (IS_ERR_OR_NULL(gpu_reg)) |