Commit 142ff9b5 authored by danh-arm's avatar danh-arm
Browse files

Merge pull request #605 from yatharth-arm/yk/sys_counter_fix

Conditionally compile `plat_get_syscnt_freq()` in ARM standard platforms
parents cf4ee177 1969625a
...@@ -163,6 +163,7 @@ const mmap_region_t *plat_arm_get_mmap(void) ...@@ -163,6 +163,7 @@ const mmap_region_t *plat_arm_get_mmap(void)
return plat_arm_mmap; return plat_arm_mmap;
} }
#ifdef ARM_SYS_CNTCTL_BASE
unsigned long long plat_get_syscnt_freq(void) unsigned long long plat_get_syscnt_freq(void)
{ {
unsigned long long counter_base_frequency; unsigned long long counter_base_frequency;
...@@ -176,3 +177,4 @@ unsigned long long plat_get_syscnt_freq(void) ...@@ -176,3 +177,4 @@ unsigned long long plat_get_syscnt_freq(void)
return counter_base_frequency; return counter_base_frequency;
} }
#endif /* ARM_SYS_CNTCTL_BASE */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment