diff options
author | Vikram Kanigiri <vikram.kanigiri@arm.com> | 2015-07-31 16:35:05 +0100 |
---|---|---|
committer | Vikram Kanigiri <vikram.kanigiri@arm.com> | 2015-09-11 11:39:22 +0100 |
commit | 4b1439c5ae9bf5f1d1aeabc9271cec8b430f5396 (patch) | |
tree | 1419d507182b372ec9ea955f1ec8bbb7b71be075 /include/plat/arm/css/common | |
parent | e86c1ff0c95c1ccecd3f6c57139d6e500f1f434d (diff) |
Define the Non-Secure timer frame ID for ARM platforms
On Juno and FVP platforms, the Non-Secure System timer corresponds
to frame 1. However, this is a platform-specific decision and it
shouldn't be hard-coded. Hence, this patch introduces
PLAT_ARM_NSTIMER_FRAME_ID which should be used by all ARM platforms
to specify the correct non-secure timer frame.
Change-Id: I6c3a905d7d89200a2f58c20ce5d1e1d166832bba
Diffstat (limited to 'include/plat/arm/css/common')
-rw-r--r-- | include/plat/arm/css/common/css_def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/plat/arm/css/common/css_def.h b/include/plat/arm/css/common/css_def.h index e5005b9a..38ff9ddd 100644 --- a/include/plat/arm/css/common/css_def.h +++ b/include/plat/arm/css/common/css_def.h @@ -113,4 +113,7 @@ #define PLAT_ARM_TZC_FILTERS REG_ATTR_FILTER_BIT_ALL #define PLAT_ARM_TZC_BASE 0x2a4a0000 +/* System timer related constants */ +#define PLAT_ARM_NSTIMER_FRAME_ID 1 + #endif /* __CSS_DEF_H__ */ |