aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPankaj Gupta <pankaj.gupta@nxp.com>2020-12-09 14:02:38 +0530
committerPankaj Gupta <pankaj.gupta@nxp.com>2021-03-24 09:49:31 +0530
commit447a42e7355d39f43756af8e3f9a792cd2ccf8bd (patch)
tree27f6f07da234b98b9f205358265b5d53d9524425 /include
parent86b1b89fbf0b8151f80ec470f815753f2603547f (diff)
downloadtrusted-firmware-a-447a42e7355d39f43756af8e3f9a792cd2ccf8bd.tar.gz
NXP: Timer API added to enable ARM generic timer
NXP Timer Apis are based on: - drivers/delay_timer Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com> Change-Id: I2cbccf4c082a10affee1143390905b9cc99c3382
Diffstat (limited to 'include')
-rw-r--r--include/lib/utils_def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/lib/utils_def.h b/include/lib/utils_def.h
index 2d0e9c08eb..7a7012d3d1 100644
--- a/include/lib/utils_def.h
+++ b/include/lib/utils_def.h
@@ -163,4 +163,9 @@
*/
#define MHZ_TICKS_PER_SEC U(1000000)
+/*
+ * Ticks elapsed in one second with a signal of 1 KHz
+ */
+#define KHZ_TICKS_PER_SEC U(1000)
+
#endif /* UTILS_DEF_H */