summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2012-11-27 13:29:07 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2012-11-28 13:00:01 +0100
commitce9bf6f809d728004194cca71622e4dadd86fea1 (patch)
tree3e2fe5144828194b2c7385a3ff71312e5f7d6403 /arch
parenta651939a1503b7be18f27d1085f6dada29e605f6 (diff)
ap20.c: - fix FLOW_MODE field location, is 31:29 according to register description in Android code. no bug visible as function is not called with run = 1
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/tegra-common/ap20.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/tegra-common/ap20.c b/arch/arm/cpu/armv7/tegra-common/ap20.c
index 15c72a038a0..62fdc2f2999 100644
--- a/arch/arm/cpu/armv7/tegra-common/ap20.c
+++ b/arch/arm/cpu/armv7/tegra-common/ap20.c
@@ -482,7 +482,7 @@ static void set_cpu_running(int run)
{
struct flow_ctlr *flow = (struct flow_ctlr *)NV_PA_FLOW_BASE;
- writel(run ? FLOW_MODE_NONE : FLOW_MODE_STOP, &flow->halt_cpu_events);
+ writel(run ? (FLOW_MODE_NONE << 29) : (FLOW_MODE_STOP << 29), &flow->halt_cpu_events);
}
void start_cpu(enum tegra_family_t family, u32 reset_vector)