summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2013-10-16 19:19:00 +0200
committerStephen Warren <swarren@nvidia.com>2013-10-18 16:28:10 -0600
commitc1e96da28cf56c9f7be5e54d92c31ef3f70799fa (patch)
tree4f50756d65dc8e0a55ea80c921220c1587fa8c34 /arch
parentf0c4ac1329452e5d31a03b4bb711c330065c0369 (diff)
downloadlinux-c1e96da28cf56c9f7be5e54d92c31ef3f70799fa.tar.gz
linux-c1e96da28cf56c9f7be5e54d92c31ef3f70799fa.tar.bz2
linux-c1e96da28cf56c9f7be5e54d92c31ef3f70799fa.zip
ARM: tegra: Remove duplicate powergate defines
Instead of duplicating powergate defines, reuse the ones from the include/linux/tegra-powergate.h header file. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/pmc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/pmc.c b/arch/arm/mach-tegra/pmc.c
index 3744af99e0a1..fb7920201ab4 100644
--- a/arch/arm/mach-tegra/pmc.c
+++ b/arch/arm/mach-tegra/pmc.c
@@ -20,6 +20,7 @@
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>
+#include <linux/tegra-powergate.h>
#include "flowctrl.h"
#include "fuse.h"
@@ -43,12 +44,6 @@
#define PMC_CPUPWRGOOD_TIMER 0xc8
#define PMC_CPUPWROFF_TIMER 0xcc
-#define TEGRA_POWERGATE_PCIE 3
-#define TEGRA_POWERGATE_VDEC 4
-#define TEGRA_POWERGATE_CPU1 9
-#define TEGRA_POWERGATE_CPU2 10
-#define TEGRA_POWERGATE_CPU3 11
-
static u8 tegra_cpu_domains[] = {
0xFF, /* not available for CPU0 */
TEGRA_POWERGATE_CPU1,