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
f831ed73
Commit
f831ed73
authored
Sep 09, 2020
by
Manish Pandey
Committed by
TrustedFirmware Code Review
Sep 09, 2020
Browse files
Merge "plat/arm: Add dependencies to configuration files" into integration
parents
6bea7468
3ab336a1
Changes
12
Hide whitespace changes
Inline
Side-by-side
plat/arm/board/a5ds/platform.mk
View file @
f831ed73
...
...
@@ -77,14 +77,14 @@ FW_CONFIG := ${BUILD_PLAT}/fdts/a5ds_fw_config.dtb
TB_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/a5ds_tb_fw_config.dtb
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config
,${TB_FW_CONFIG}
))
# Add the FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config
,${FW_CONFIG}
))
$(eval FVP_HW_CONFIG
:
= ${BUILD_PLAT}/$(patsubst %.dts
,
%.dtb
,
\
fdts/$(notdir ${FVP_HW_CONFIG_DTS})))
# Add the HW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_HW_CONFIG},--hw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_HW_CONFIG},--hw-config
,${FVP_HW_CONFIG}
))
FDT_SOURCES
+=
plat/arm/board/a5ds/fdts/a5ds_fw_config.dts
\
plat/arm/board/a5ds/fdts/a5ds_tb_fw_config.dts
\
...
...
plat/arm/board/corstone700/platform.mk
View file @
f831ed73
...
...
@@ -48,7 +48,7 @@ FDT_SOURCES += ${CORSTONE700_HW_CONFIG_DTS}
$(eval CORSTONE700_HW_CONFIG
:
= ${BUILD_PLAT}/$(patsubst %.dts
,
%.dtb
,
$(CORSTONE700_HW_CONFIG_DTS)))
# Add the HW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${CORSTONE700_HW_CONFIG},--hw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${CORSTONE700_HW_CONFIG},--hw-config
,${CORSTONE700_HW_CONFIG}
))
# Check for Linux kernel as a BL33 image by default
$(eval
$(call
add_define,ARM_LINUX_KERNEL_AS_BL33))
...
...
plat/arm/board/fvp/platform.mk
View file @
f831ed73
...
...
@@ -246,7 +246,7 @@ FDT_SOURCES += plat/arm/board/fvp/fdts/${PLAT}_tsp_fw_config.dts
FVP_TOS_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_tsp_fw_config.dtb
# Add the TOS_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_TOS_FW_CONFIG},--tos-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_TOS_FW_CONFIG},--tos-fw-config
,${FVP_TOS_FW_CONFIG}
))
endif
ifeq
(${SPD},spmd)
...
...
@@ -259,23 +259,23 @@ FDT_SOURCES += ${ARM_SPMC_MANIFEST_DTS}
FVP_TOS_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
$(
notdir
$(
basename
${ARM_SPMC_MANIFEST_DTS}
))
.dtb
# Add the TOS_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_TOS_FW_CONFIG},--tos-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_TOS_FW_CONFIG},--tos-fw-config
,${FVP_TOS_FW_CONFIG}
))
endif
# Add the FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_FW_CONFIG},--fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_FW_CONFIG},--fw-config
,${FVP_FW_CONFIG}
))
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_TB_FW_CONFIG},--tb-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_TB_FW_CONFIG},--tb-fw-config
,${FVP_TB_FW_CONFIG}
))
# Add the SOC_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_SOC_FW_CONFIG},--soc-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_SOC_FW_CONFIG},--soc-fw-config
,${FVP_SOC_FW_CONFIG}
))
# Add the NT_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_NT_FW_CONFIG},--nt-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_NT_FW_CONFIG},--nt-fw-config
,${FVP_NT_FW_CONFIG}
))
FDT_SOURCES
+=
${FVP_HW_CONFIG_DTS}
$(eval FVP_HW_CONFIG
:
= ${BUILD_PLAT}/$(patsubst %.dts
,
%.dtb
,
$(FVP_HW_CONFIG_DTS)))
# Add the HW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_HW_CONFIG},--hw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_HW_CONFIG},--hw-config
,${FVP_HW_CONFIG}
))
endif
# Enable Activity Monitor Unit extensions by default
...
...
plat/arm/board/fvp_ve/platform.mk
View file @
f831ed73
...
...
@@ -81,15 +81,15 @@ FVP_FW_CONFIG := ${BUILD_PLAT}/fdts/fvp_ve_fw_config.dtb
FVP_TB_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/fvp_ve_tb_fw_config.dtb
# Add the FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_FW_CONFIG},--fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_FW_CONFIG},--fw-config
,${FVP_FW_CONFIG}
))
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_TB_FW_CONFIG},--tb-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_TB_FW_CONFIG},--tb-fw-config
,${FVP_TB_FW_CONFIG}
))
FDT_SOURCES
+=
${FVP_HW_CONFIG_DTS}
$(eval FVP_HW_CONFIG
:
= ${BUILD_PLAT}/$(patsubst %.dts
,
%.dtb
,
\
fdts/$(notdir ${FVP_HW_CONFIG_DTS})))
# Add the HW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_HW_CONFIG},--hw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FVP_HW_CONFIG},--hw-config
,${FVP_HW_CONFIG}
))
endif
NEED_BL32
:=
yes
...
...
plat/arm/board/juno/platform.mk
View file @
f831ed73
...
...
@@ -172,9 +172,9 @@ FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb
TB_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_tb_fw_config.dtb
# Add the FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config
,${FW_CONFIG}
))
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config
,${TB_FW_CONFIG}
))
include
plat/arm/board/common/board_common.mk
include
plat/arm/common/arm_common.mk
...
...
plat/arm/board/rddaniel/platform.mk
View file @
f831ed73
...
...
@@ -44,14 +44,14 @@ FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb
TB_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_tb_fw_config.dtb
# Add the FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config
,${FW_CONFIG}
))
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config
,${TB_FW_CONFIG}
))
FDT_SOURCES
+=
${RDDANIEL_BASE}
/fdts/
${PLAT}
_nt_fw_config.dts
NT_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_nt_fw_config.dtb
# Add the NT_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config
,${NT_FW_CONFIG}
))
override CTX_INCLUDE_AARCH32_REGS
:
= 0
plat/arm/board/rddanielxlr/platform.mk
View file @
f831ed73
...
...
@@ -47,9 +47,9 @@ FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb
TB_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_tb_fw_config.dtb
# Add the FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config
,${FW_CONFIG}
))
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config
,${TB_FW_CONFIG}
))
$(eval
$(call
CREATE_SEQ,SEQ,4))
ifneq
($(CSS_SGI_CHIP_COUNT),$(filter $(CSS_SGI_CHIP_COUNT),$(SEQ)))
...
...
@@ -61,6 +61,6 @@ FDT_SOURCES += ${RDDANIELXLR_BASE}/fdts/${PLAT}_nt_fw_config.dts
NT_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_nt_fw_config.dtb
# Add the NT_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config
,${NT_FW_CONFIG}
))
override CTX_INCLUDE_AARCH32_REGS
:
= 0
plat/arm/board/rde1edge/platform.mk
View file @
f831ed73
...
...
@@ -41,15 +41,15 @@ FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb
TB_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_tb_fw_config.dtb
# Add the FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config
,${FW_CONFIG}
))
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config
,${TB_FW_CONFIG}
))
FDT_SOURCES
+=
${RDE1EDGE_BASE}
/fdts/
${PLAT}
_nt_fw_config.dts
NT_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_nt_fw_config.dtb
# Add the NT_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config
,${NT_FW_CONFIG}
))
ifneq
($(CSS_SGI_CHIP_COUNT),1)
$(error
"Chip
count
for
RDE1Edge
should
be
1,
currently
set
to
\
...
...
plat/arm/board/rdn1edge/platform.mk
View file @
f831ed73
...
...
@@ -47,15 +47,15 @@ FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb
TB_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_tb_fw_config.dtb
# Add the FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config)
,${FW_CONFIG}
)
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config
,${TB_FW_CONFIG}
))
FDT_SOURCES
+=
${RDN1EDGE_BASE}
/fdts/
${PLAT}
_nt_fw_config.dts
NT_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_nt_fw_config.dtb
# Add the NT_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config
,${NT_FW_CONFIG}
))
$(eval
$(call
CREATE_SEQ,SEQ,2))
ifneq
($(CSS_SGI_CHIP_COUNT),$(filter $(CSS_SGI_CHIP_COUNT),$(SEQ)))
...
...
plat/arm/board/sgi575/platform.mk
View file @
f831ed73
...
...
@@ -42,15 +42,15 @@ FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb
TB_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_tb_fw_config.dtb
# Add the FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config
,${FW_CONFIG}
))
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config
,${TB_FW_CONFIG}
))
FDT_SOURCES
+=
${SGI575_BASE}
/fdts/
${PLAT}
_nt_fw_config.dts
NT_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_nt_fw_config.dtb
# Add the NT_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${NT_FW_CONFIG},--nt-fw-config
,${NT_FW_CONFIG}
))
ifneq
($(CSS_SGI_CHIP_COUNT),1)
$(error
"Chip
count
for
SGI575
should
be
1,
currently
set
to
\
...
...
plat/arm/board/sgm775/platform.mk
View file @
f831ed73
...
...
@@ -15,9 +15,9 @@ FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb
TB_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_tb_fw_config.dtb
# Add the FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config
,${FW_CONFIG}
))
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config
,${TB_FW_CONFIG}
))
PLAT_INCLUDES
+=
-I
${SGM775_BASE}
/include/
...
...
plat/arm/board/tc0/platform.mk
View file @
f831ed73
...
...
@@ -79,9 +79,9 @@ FW_CONFIG := ${BUILD_PLAT}/fdts/${PLAT}_fw_config.dtb
TB_FW_CONFIG
:=
${BUILD_PLAT}
/fdts/
${PLAT}
_tb_fw_config.dtb
# Add the FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${FW_CONFIG},--fw-config
,${FW_CONFIG}
))
# Add the TB_FW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${TB_FW_CONFIG},--tb-fw-config
,${TB_FW_CONFIG}
))
#Device tree
TC0_HW_CONFIG_DTS
:=
fdts/tc0.dts
...
...
@@ -90,7 +90,7 @@ FDT_SOURCES += ${TC0_HW_CONFIG_DTS}
$(eval TC0_HW_CONFIG
:
= ${BUILD_PLAT}/$(patsubst %.dts
,
%.dtb
,
$(TC0_HW_CONFIG_DTS)))
# Add the HW_CONFIG to FIP and specify the same to certtool
$(eval
$(call
TOOL_ADD_PAYLOAD,${TC0_HW_CONFIG},--hw-config))
$(eval
$(call
TOOL_ADD_PAYLOAD,${TC0_HW_CONFIG},--hw-config
,${TC0_HW_CONFIG}
))
override CTX_INCLUDE_AARCH32_REGS
:
= 0
...
...
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