blob: ec5f9c7f19b9368b9977ca787ff4895531c00098 [file] [log] [blame]
Xialin Liuda3b62f2024-06-28 11:33:41 -05001/*
2 * Copyright (c) 2024, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 * This file provide a malformed CoT DT file that there is
7 * unmatching bracket
8 *
9 */
10
11#include <example/example.h>
12#include <example/example/example.h>
13
14cot {
15 manifests {
16 compatible = "arm, cert-descs";
17
18 example_cert: example_cert {
19 root-certificate;
20 image-id =<EXAMPLE_ID>;
21 antirollback-counter = <&example_ctr>;
22
23 example_hash: example_hash
24 {
25 oid = EXAMPLE_HASH_ID;
26 };
27
28 };
29 };
30
31 images {
32 compatible = "arm, img-descs";
33
34 example {
35 image-id = <EXAMPLE_ID>;
36 parent = <&example_cert>;
37 hash = <&example_hash>;
38 };
39};
40
41non_volatile_counters: non_volatile_counters {
42 compatible = "arm, non-volatile-counter";
43
44 #address-cells = <1>;
45 #size-cells = <0>;
46
47 example_ctr: example_ctr {
48 id = <TRUSTED_NV_CTR_ID>;
49 oid = CCA_FW_NVCOUNTER_OID;
50 };
51};
52
53rot_keys {
54 example_pk: example_pk {
55 oid = EXAMPLE_PK_OID;
56 };
57};