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
ea69a93e
Commit
ea69a93e
authored
Apr 14, 2017
by
davidcunado-arm
Committed by
GitHub
Apr 14, 2017
Browse files
Merge pull request #890 from masahir0y/scp
Build: add generic way to include SCP_BL2 into FIP image
parents
5d385355
4d045d0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
ea69a93e
...
@@ -347,6 +347,11 @@ ifdef BL2_SOURCES
...
@@ -347,6 +347,11 @@ ifdef BL2_SOURCES
endif
endif
endif
endif
# If SCP_BL2 is given, we always want FIP to include it.
ifdef SCP_BL2
NEED_SCP_BL2 := yes
endif
# Process TBB related flags
# Process TBB related flags
ifneq (${GENERATE_COT},0)
ifneq (${GENERATE_COT},0)
# Common cert_create options
# Common cert_create options
...
@@ -541,6 +546,10 @@ $(if ${BL2}, $(eval $(call MAKE_TOOL_ARGS,2,${BL2},tb-fw)),\
...
@@ -541,6 +546,10 @@ $(if ${BL2}, $(eval $(call MAKE_TOOL_ARGS,2,${BL2},tb-fw)),\
$(eval
$(call
MAKE_BL,2,tb-fw)))
$(eval
$(call
MAKE_BL,2,tb-fw)))
endif
endif
ifeq
(${NEED_SCP_BL2},yes)
$(eval
$(call
FIP_ADD_IMG,SCP_BL2,--scp-fw))
endif
ifeq
(${NEED_BL31},yes)
ifeq
(${NEED_BL31},yes)
BL31_SOURCES
+=
${SPD_SOURCES}
BL31_SOURCES
+=
${SPD_SOURCES}
$(if
${BL31},
$(eval
$(call
MAKE_TOOL_ARGS,31,${BL31},soc-fw)),\
$(if
${BL31},
$(eval
$(call
MAKE_TOOL_ARGS,31,${BL31},soc-fw)),\
...
...
plat/arm/css/common/css_common.mk
View file @
ea69a93e
...
@@ -64,7 +64,7 @@ $(eval $(call assert_boolean,CSS_LOAD_SCP_IMAGES))
...
@@ -64,7 +64,7 @@ $(eval $(call assert_boolean,CSS_LOAD_SCP_IMAGES))
$(eval
$(call
add_define,CSS_LOAD_SCP_IMAGES))
$(eval
$(call
add_define,CSS_LOAD_SCP_IMAGES))
ifeq
(${CSS_LOAD_SCP_IMAGES},1)
ifeq
(${CSS_LOAD_SCP_IMAGES},1)
$(eval
$(call
FIP_ADD_IMG,SCP_BL2,--scp-fw))
NEED_SCP_BL2
:=
yes
ifneq
(${TRUSTED_BOARD_BOOT},0)
ifneq
(${TRUSTED_BOARD_BOOT},0)
$(eval
$(call
FWU_FIP_ADD_IMG,SCP_BL2U,--scp-fwu-cfg))
$(eval
$(call
FWU_FIP_ADD_IMG,SCP_BL2U,--scp-fwu-cfg))
endif
endif
...
...
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