Commit ee99356b authored by Alexei Fedorov's avatar Alexei Fedorov Committed by TrustedFirmware Code Review
Browse files

Merge "dtsi: Update the nv-counter node in the device tree" into integration

parents 9b2bf150 699d8a12
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <tools_share/tbbr_oid.h> #include <tools_share/tbbr_oid.h>
#include <common/tbbr/tbbr_img_def.h> #include <common/tbbr/tbbr_img_def.h>
#include <common/nv_cntr_ids.h>
cot { cot {
manifests { manifests {
...@@ -301,18 +302,19 @@ cot { ...@@ -301,18 +302,19 @@ cot {
}; };
}; };
non-volatile-counters { non_volatile_counters: non_volatile_counters {
compatible = "arm, non-volatile-counter"; compatible = "arm, non-volatile-counter";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
counters { trusted_nv_counter: trusted_nv_counter {
trusted_nv_counter: trusted_nv_counter { id = <TRUSTED_NV_CTR_ID>;
oid = TRUSTED_FW_NVCOUNTER_OID; oid = TRUSTED_FW_NVCOUNTER_OID;
}; };
non_trusted_nv_counter: non_trusted_nv_counter {
oid = NON_TRUSTED_FW_NVCOUNTER_OID; non_trusted_nv_counter: non_trusted_nv_counter {
}; id = <NON_TRUSTED_NV_CTR_ID>;
oid = NON_TRUSTED_FW_NVCOUNTER_OID;
}; };
}; };
/*
* Copyright (c) 2020, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#define TRUSTED_NV_CTR_ID U(0)
#define NON_TRUSTED_NV_CTR_ID U(1)
#define MAX_NV_CTR_IDS U(2)
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