From b6a95c4a8075dfeeef0828b7c18872d1176b355f Mon Sep 17 00:00:00 2001 From: Xialin Liu Date: Tue, 9 Jul 2024 14:25:15 -0500 Subject: [PATCH] refactor(st): align the NV counter naming align the nv counter naming for stm32mp1-cot-descriptor.dtsi file Change-Id: I8c41c5e323e8bf867e08b4590dfb42e86204ab65 Signed-off-by: Xialin Liu --- fdts/stm32mp1-cot-descriptors.dtsi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/fdts/stm32mp1-cot-descriptors.dtsi b/fdts/stm32mp1-cot-descriptors.dtsi index eb632ffa8..05326be71 100644 --- a/fdts/stm32mp1-cot-descriptors.dtsi +++ b/fdts/stm32mp1-cot-descriptors.dtsi @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2022, ARM Limited. All rights reserved. + * Copyright (c) 2020-2024, ARM Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -15,7 +15,7 @@ cot { stm32mp_cfg_cert: stm32mp_cfg_cert { root-certificate; image-id = ; - antirollback-counter = <&trusted_nv_counter>; + antirollback-counter = <&trusted_nv_ctr>; hw_config_hash: hw_config_hash { oid = HW_CONFIG_HASH_OID; @@ -29,7 +29,7 @@ cot { trusted_key_cert: trusted_key_cert { root-certificate; image-id = ; - antirollback-counter = <&trusted_nv_counter>; + antirollback-counter = <&trusted_nv_ctr>; trusted_world_pk: trusted_world_pk { oid = TRUSTED_WORLD_PK_OID; @@ -43,7 +43,7 @@ cot { image-id = ; parent = <&trusted_key_cert>; signing-key = <&trusted_world_pk>; - antirollback-counter = <&trusted_nv_counter>; + antirollback-counter = <&trusted_nv_ctr>; tos_fw_content_pk: tos_fw_content_pk { oid = TRUSTED_OS_FW_CONTENT_CERT_PK_OID; @@ -54,7 +54,7 @@ cot { image-id = ; parent = <&trusted_os_fw_key_cert>; signing-key = <&tos_fw_content_pk>; - antirollback-counter = <&trusted_nv_counter>; + antirollback-counter = <&trusted_nv_ctr>; tos_fw_hash: tos_fw_hash { oid = TRUSTED_OS_FW_HASH_OID; @@ -74,7 +74,7 @@ cot { image-id = ; parent = <&trusted_key_cert>; signing-key = <&non_trusted_world_pk>; - antirollback-counter = <&non_trusted_nv_counter>; + antirollback-counter = <&non_trusted_nv_ctr>; nt_fw_content_pk: nt_fw_content_pk { oid = NON_TRUSTED_FW_CONTENT_CERT_PK_OID; @@ -85,7 +85,7 @@ cot { image-id = ; parent = <&non_trusted_fw_key_cert>; signing-key = <&nt_fw_content_pk>; - antirollback-counter = <&non_trusted_nv_counter>; + antirollback-counter = <&non_trusted_nv_ctr>; nt_world_bl_hash: nt_world_bl_hash { oid = NON_TRUSTED_WORLD_BOOTLOADER_HASH_OID; @@ -144,12 +144,12 @@ non_volatile_counters: non_volatile_counters { #address-cells = <1>; #size-cells = <0>; - trusted_nv_counter: trusted_nv_counter { + trusted_nv_ctr: trusted_nv_ctr { id = ; oid = TRUSTED_FW_NVCOUNTER_OID; }; - non_trusted_nv_counter: non_trusted_nv_counter { + non_trusted_nv_ctr: non_trusted_nv_ctr { id = ; oid = NON_TRUSTED_FW_NVCOUNTER_OID; };