diff options
author | Pankaj Gupta <pankaj.gupta@nxp.com> | 2020-12-09 14:02:38 +0530 |
---|---|---|
committer | Pankaj Gupta <pankaj.gupta@nxp.com> | 2021-03-24 09:49:31 +0530 |
commit | 447a42e7355d39f43756af8e3f9a792cd2ccf8bd (patch) | |
tree | 27f6f07da234b98b9f205358265b5d53d9524425 /include | |
parent | 86b1b89fbf0b8151f80ec470f815753f2603547f (diff) | |
download | trusted-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.h | 5 |
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 */ |