mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00

Using the Fconf, register base address of the various nv-counters (currently, trusted, non-trusted nv-counters) are moved to the device tree and retrieved during run-time. This feature is enabled using the build option COT_DESC_IN_DTB. Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com> Change-Id: I236f532e63cea63b179f60892cb406fc05cd5830
17 lines
384 B
C
17 lines
384 B
C
/*
|
|
* Copyright (c) 2020, Arm Limited. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef FCONF_NV_CNTR_GETTER_H
|
|
#define FCONF_NV_CNTR_GETTER_H
|
|
|
|
#include <common/nv_cntr_ids.h>
|
|
#include <lib/fconf/fconf.h>
|
|
|
|
#define cot__nv_cntr_addr_getter(id) nv_cntr_base_addr[id]
|
|
|
|
extern uintptr_t nv_cntr_base_addr[MAX_NV_CTR_IDS];
|
|
|
|
#endif /* FCONF_NV_CNTR_GETTER_H */
|