diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2020-02-13 13:07:12 -0800 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2020-02-20 09:25:45 -0800 |
commit | d4b29105f4d4d11f4bd0f64a7ff9a49c897d804e (patch) | |
tree | f709a9c61457124d46a4cf7b1fcef09165d75917 /plat | |
parent | 56e7d6a716eb40967d9c7e599e7b2995ccbcfff7 (diff) | |
download | platform_external_arm-trusted-firmware-d4b29105f4d4d11f4bd0f64a7ff9a49c897d804e.tar.gz platform_external_arm-trusted-firmware-d4b29105f4d4d11f4bd0f64a7ff9a49c897d804e.tar.bz2 platform_external_arm-trusted-firmware-d4b29105f4d4d11f4bd0f64a7ff9a49c897d804e.zip |
include: move MHZ_TICKS_PER_SEC to utils_def.h
This patch moves the MHZ_TICKS_PER_SEC macro to utils_def.h
for other platforms to use.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: I6c4dc733f548d73cfdb3515ec9ad89a9efaf4407
Diffstat (limited to 'plat')
-rw-r--r-- | plat/common/plat_psci_common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plat/common/plat_psci_common.c b/plat/common/plat_psci_common.c index 80ed8198b..bed8890a7 100644 --- a/plat/common/plat_psci_common.c +++ b/plat/common/plat_psci_common.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2020, NVIDIA Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -9,6 +10,7 @@ #include <arch.h> #include <lib/pmf/pmf.h> #include <lib/psci/psci.h> +#include <lib/utils_def.h> #include <plat/common/platform.h> #if ENABLE_PSCI_STAT && ENABLE_PMF @@ -16,9 +18,6 @@ #pragma weak plat_psci_stat_accounting_stop #pragma weak plat_psci_stat_get_residency -/* Ticks elapsed in one second by a signal of 1 MHz */ -#define MHZ_TICKS_PER_SEC 1000000U - /* Maximum time-stamp value read from architectural counters */ #ifdef __aarch64__ #define MAX_TS UINT64_MAX |