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>
1 parent e0d913c commit b42192bcbdbe9fab4aadca903cac2f928a1d7154
@Varun Wadekar Varun Wadekar authored on 21 Aug 2015
Showing 2 changed files
View
plat/nvidia/tegra/common/aarch64/tegra_helpers.S
View
plat/nvidia/tegra/soc/t210/platform_t210.mk