mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
feat(arm): generate tbbr c file CoT dt2c
Integrate the cot-dt2c tool into build process for TBBR configuration Change-Id: I42ccbc96c5c8fd21266200e427306a80236a78aa Signed-off-by: Xialin Liu <Xialin.Liu@ARM.com>
This commit is contained in:
parent
0e0fab0ca2
commit
479c833afc
2 changed files with 11 additions and 3 deletions
|
@ -4,7 +4,12 @@
|
|||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#if USE_TBBR_DEFS
|
||||
#include <tools_share/tbbr_oid.h>
|
||||
#else
|
||||
#include <platform_oid.h>
|
||||
#endif
|
||||
|
||||
#include <common/tbbr/tbbr_img_def.h>
|
||||
#include <common/nv_cntr_ids.h>
|
||||
|
||||
|
|
|
@ -377,10 +377,9 @@ ifneq (${TRUSTED_BOARD_BOOT},0)
|
|||
ifneq (${COT_DESC_IN_DTB},0)
|
||||
BL2_SOURCES += lib/fconf/fconf_cot_getter.c
|
||||
else
|
||||
BL2_SOURCES += drivers/auth/tbbr/tbbr_cot_common.c
|
||||
# Juno has its own TBBR CoT file for BL2
|
||||
ifneq (${PLAT},juno)
|
||||
BL2_SOURCES += drivers/auth/tbbr/tbbr_cot_bl2.c
|
||||
ifeq (${PLAT},juno)
|
||||
BL2_SOURCES += drivers/auth/tbbr/tbbr_cot_common.c
|
||||
endif
|
||||
endif
|
||||
else ifeq (${COT},dualroot)
|
||||
|
@ -402,6 +401,10 @@ ifneq (${TRUSTED_BOARD_BOOT},0)
|
|||
COTDTPATH := fdts/dualroot_cot_descriptors.dtsi
|
||||
else ifeq (${COT},cca)
|
||||
COTDTPATH := fdts/cca_cot_descriptors.dtsi
|
||||
else ifeq (${COT},tbbr)
|
||||
ifneq (${PLAT},juno)
|
||||
COTDTPATH := fdts/tbbr_cot_descriptors.dtsi
|
||||
endif
|
||||
endif
|
||||
bl2: cot-dt2c
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue