Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
ee99356b
Commit
ee99356b
authored
Sep 02, 2020
by
Alexei Fedorov
Committed by
TrustedFirmware Code Review
Sep 02, 2020
Browse files
Merge "dtsi: Update the nv-counter node in the device tree" into integration
parents
9b2bf150
699d8a12
Changes
2
Hide whitespace changes
Inline
Side-by-side
fdts/cot_descriptors.dtsi
View file @
ee99356b
...
@@ -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;
};
};
};
};
include/common/nv_cntr_ids.h
0 → 100644
View file @
ee99356b
/*
* 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)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment