mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00

Add the standalone CoT dt2c tool for CoT DTB conversion to c file Change-Id: If28e580a4c2825f5dc9008e93cd2aae3fc173e73 Signed-off-by: Xialin Liu <Xialin.Liu@ARM.com>
69 lines
978 B
Text
69 lines
978 B
Text
/*
|
|
* Copyright (c) 2024, Arm Limited. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
* This file provide a valid CoT DT file
|
|
*
|
|
*/
|
|
|
|
#if test
|
|
#include <example/example.h>
|
|
#include <example/example/example.h>
|
|
#endif
|
|
|
|
cot
|
|
{
|
|
manifests
|
|
{
|
|
compatible = "arm, cert-descs";
|
|
#if defined (test)
|
|
example_cert: example_cert
|
|
{
|
|
root-certificate;
|
|
image-id =<EXAMPLE_ID>;
|
|
antirollback-counter = <&example_ctr>;
|
|
|
|
example_hash: example_hash
|
|
{
|
|
oid = EXAMPLE_HASH_ID;
|
|
};
|
|
|
|
};
|
|
#endif
|
|
};
|
|
|
|
images
|
|
{
|
|
compatible = "arm, img-descs";
|
|
|
|
example
|
|
{
|
|
image-id = <EXAMPLE_ID>;
|
|
parent = <&example_cert>;
|
|
hash = <&example_hash>;
|
|
};
|
|
};
|
|
};
|
|
|
|
non_volatile_counters: non_volatile_counters
|
|
{
|
|
compatible = "arm, non-volatile-counter";
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
example_ctr: example_ctr
|
|
{
|
|
id = <TRUSTED_NV_CTR_ID>;
|
|
oid = CCA_FW_NVCOUNTER_OID;
|
|
};
|
|
};
|
|
|
|
rot_keys
|
|
{
|
|
example_pk: example_pk
|
|
{
|
|
oid = EXAMPLE_PK_OID;
|
|
};
|
|
};
|