diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2015-08-21 15:56:02 +0530 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2015-08-24 21:34:28 +0530 |
commit | b42192bcbdbe9fab4aadca903cac2f928a1d7154 (patch) | |
tree | 30a80744a1b68b1257cdbb8823eb98b2d64df598 /drivers/arm/ccn/ccn.c | |
parent | e0d913c78610c8214f19eb666c562b3ef66a8ca3 (diff) |
Tegra210: wait for 512 timer ticks before retention entry
This patch programs the CPUECTLR_EL1 and L2ECTLR_EL1 registers,
so that the core waits for 512 generic timer CNTVALUEB ticks before
entering retention state, after executing a WFI instruction.
This functionality is configurable and can be enabled for platforms
by setting the newly defined 'ENABLE_L2_DYNAMIC_RETENTION' and
'ENABLE_CPU_DYNAMIC_RETENTION' flag.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'drivers/arm/ccn/ccn.c')
0 files changed, 0 insertions, 0 deletions