[U-Boot] [PATCH 33/60] ARM: tegra: fix bug in Tegra20 flow.h

Stephen Warren
2016-04-19T20:59:13Z

From: Stephen Warren <swarren@nvidia.com>

According to the TRM, Tegra20's flow controller has a xrq_events field
too. Suspend/resume (via LP0) does still work after this fix, implying
the write to halt_cpu1_events in warmboot_avp.c isn't actually necessary,
since this patch causes it to access a different register.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
arch/arm/include/asm/arch-tegra20/flow.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/arch-tegra20/flow.h b/arch/arm/include/asm/arch-tegra20/flow.h
index 8a6a78311452..e7df5bbb906c 100644
--- a/arch/arm/include/asm/arch-tegra20/flow.h
+++ b/arch/arm/include/asm/arch-tegra20/flow.h
@@ -1,5 +1,5 @@
/*
- * (C) Copyright 2010, 2011
+ * (C) Copyright 2010-2016
* NVIDIA Corporation <www.nvidia.com>
*
* SPDX-License-Identifier: GPL-2.0+
@@ -13,6 +13,7 @@ struct flow_ctlr {
u32 halt_cop_events;
u32 cpu_csr;
u32 cop_csr;
+ u32 xrq_events;
u32 halt_cpu1_events;
u32 cpu1_csr;
};
--
2.8.1