aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2020-03-23 19:29:58 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2020-06-08 16:36:28 -0700
commitae045908b4d757ce30ee4fc3aab77ca9afa5cf00 (patch)
tree5bd44d4235838a36096214b4e965ac8d3f6bed95
parentfa6a2d27307698dadc19bf6665eae1378d3dd8b5 (diff)
downloadtf-a-tests-ae045908b4d757ce30ee4fc3aab77ca9afa5cf00.tar.gz
Tegra194: timers: increase the step value to 5ms
The RTC consumes 250us for each register read/write. Increase the step value to 5ms to cover all the register read/write in program_timer(). Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Change-Id: Iac0fc070dbf85a6352fbf147fc5945820e8ee495
-rw-r--r--plat/nvidia/tegra194/timers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/nvidia/tegra194/timers.c b/plat/nvidia/tegra194/timers.c
index 98bd63b..39080df 100644
--- a/plat/nvidia/tegra194/timers.c
+++ b/plat/nvidia/tegra194/timers.c
@@ -14,7 +14,7 @@
#include <utils_def.h>
/* timer granularity in ms */
-#define TEGRA194_RTC_STEP_VALUE_MS U(2)
+#define TEGRA194_RTC_STEP_VALUE_MS U(5)
/* IRQ value for Tegra194 Timer0 */
#define TEGRA194_RTC_IRQ U(42)