From: Dima Zavin Date: Fri, 17 Sep 2010 00:58:05 +0000 (-0700) Subject: ARM: tegra: powergate the mpe and 3d cores at boot X-Git-Tag: firefly_0821_release~9833^2~213 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c5565e5628ed1bdb53a14ac1d1db7aa21330b193;p=firefly-linux-kernel-4.4.55.git ARM: tegra: powergate the mpe and 3d cores at boot Change-Id: I6ca09db039cd80eab18d062a7a4b5d2a93bd385e Signed-off-by: Dima Zavin --- diff --git a/arch/arm/mach-tegra/common.c b/arch/arm/mach-tegra/common.c index 3304e92b5fe1..d5852042123a 100644 --- a/arch/arm/mach-tegra/common.c +++ b/arch/arm/mach-tegra/common.c @@ -26,6 +26,7 @@ #include #include +#include #include #include "board.h" @@ -66,11 +67,18 @@ void __init tegra_init_cache(void) } +static void __init tegra_init_power(void) +{ + tegra_powergate_power_off(TEGRA_POWERGATE_MPE); + tegra_powergate_power_off(TEGRA_POWERGATE_3D); +} + void __init tegra_common_init(void) { tegra_init_fuse(); tegra_init_clock(); tegra_clk_init_from_table(common_clk_init_table); + tegra_init_power(); tegra_init_cache(); #ifdef CONFIG_TEGRA_SYSTEM_DMA tegra_dma_init();