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

Stephen Warren swarren at wwwdotorg.org
Tue Apr 19 22:59:13 CEST 2016


From: Stephen Warren <swarren at 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 at 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



More information about the U-Boot mailing list