From c5565e5628ed1bdb53a14ac1d1db7aa21330b193 Mon Sep 17 00:00:00 2001 From: Dima Zavin Date: Thu, 16 Sep 2010 17:58:05 -0700 Subject: [PATCH] ARM: tegra: powergate the mpe and 3d cores at boot Change-Id: I6ca09db039cd80eab18d062a7a4b5d2a93bd385e Signed-off-by: Dima Zavin --- arch/arm/mach-tegra/common.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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(); -- 2.34.1