summaryrefslogtreecommitdiff
path: root/plat/mediatek
diff options
context:
space:
mode:
authorYatharth Kochar <yatharth.kochar@arm.com>2016-04-14 14:49:37 +0100
committerYatharth Kochar <yatharth.kochar@arm.com>2016-04-21 17:10:58 +0100
commitc073fda1c692d7c74415d26fb483d6336330fcc0 (patch)
tree6c33731e77ceeea6859d7114a39318926a79a30e /plat/mediatek
parent81b491ff37a7027766410a91d9837e093248300d (diff)
Move `plat_get_syscnt_freq()` to arm_common.c
This patch moves the definition for `plat_get_syscnt_freq()` from arm_bl31_setup.c to arm_common.c. This could be useful in case a delay timer needs to be installed based on the generic timer in other BLs. This patch also modifies the return type for this function from `uint64_t` to `unsigned long long` within ARM and other platform files. Change-Id: Iccdfa811948e660d4fdcaae60ad1d700e4eda80d
Diffstat (limited to 'plat/mediatek')
-rw-r--r--plat/mediatek/mt8173/aarch64/platform_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/mediatek/mt8173/aarch64/platform_common.c b/plat/mediatek/mt8173/aarch64/platform_common.c
index 23116f5d..d83e1474 100644
--- a/plat/mediatek/mt8173/aarch64/platform_common.c
+++ b/plat/mediatek/mt8173/aarch64/platform_common.c
@@ -84,7 +84,7 @@ const mmap_region_t plat_mmap[] = {
/* Define EL3 variants of the function initialising the MMU */
DEFINE_CONFIGURE_MMU_EL(3)
-uint64_t plat_get_syscnt_freq(void)
+unsigned long long plat_get_syscnt_freq(void)
{
return SYS_COUNTER_FREQ_IN_TICKS;
}