
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; };