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
12293ba7
"vscode:/vscode.git/clone" did not exist on "5c6aa01affe14c40efdebdc9450cdbc4ae0bc494"
Commit
12293ba7
authored
Jul 10, 2020
by
Sandrine Bailleux
Committed by
TrustedFirmware Code Review
Jul 10, 2020
Browse files
Merge "make, doc: Add build option to create chain of trust at runtime" into integration
parents
25311527
84ef9cd8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
12293ba7
...
@@ -659,6 +659,10 @@ $(error "SDEI_IN_FCONF is an experimental feature and is only supported when \
...
@@ -659,6 +659,10 @@ $(error "SDEI_IN_FCONF is an experimental feature and is only supported when \
SDEI_SUPPORT
is
enabled
")
SDEI_SUPPORT
is
enabled
")
endif
endif
ifeq ($(COT_DESC_IN_DTB),1)
$(info CoT in device tree is an experimental feature)
endif
# If pointer authentication is used in the firmware, make sure that all the
# If pointer authentication is used in the firmware, make sure that all the
# registers associated to it are also saved and restored.
# registers associated to it are also saved and restored.
# Not doing it would leak the value of the keys used by EL3 to EL1 and S-EL1.
# Not doing it would leak the value of the keys used by EL3 to EL1 and S-EL1.
...
@@ -903,6 +907,7 @@ $(eval $(call assert_boolean,ENCRYPT_BL31))
...
@@ -903,6 +907,7 @@ $(eval $(call assert_boolean,ENCRYPT_BL31))
$(eval $(call assert_boolean,ENCRYPT_BL32))
$(eval $(call assert_boolean,ENCRYPT_BL32))
$(eval $(call assert_boolean,ERRATA_SPECULATIVE_AT))
$(eval $(call assert_boolean,ERRATA_SPECULATIVE_AT))
$(eval $(call assert_boolean,RAS_TRAP_LOWER_EL_ERR_ACCESS))
$(eval $(call assert_boolean,RAS_TRAP_LOWER_EL_ERR_ACCESS))
$(eval $(call assert_boolean,COT_DESC_IN_DTB))
$(eval $(call assert_numeric,ARM_ARCH_MAJOR))
$(eval $(call assert_numeric,ARM_ARCH_MAJOR))
$(eval $(call assert_numeric,ARM_ARCH_MINOR))
$(eval $(call assert_numeric,ARM_ARCH_MINOR))
...
@@ -983,6 +988,7 @@ $(eval $(call add_define,BL2_INV_DCACHE))
...
@@ -983,6 +988,7 @@ $(eval $(call add_define,BL2_INV_DCACHE))
$(eval
$(call
add_define,USE_SPINLOCK_CAS))
$(eval
$(call
add_define,USE_SPINLOCK_CAS))
$(eval
$(call
add_define,ERRATA_SPECULATIVE_AT))
$(eval
$(call
add_define,ERRATA_SPECULATIVE_AT))
$(eval
$(call
add_define,RAS_TRAP_LOWER_EL_ERR_ACCESS))
$(eval
$(call
add_define,RAS_TRAP_LOWER_EL_ERR_ACCESS))
$(eval
$(call
add_define,COT_DESC_IN_DTB))
ifeq
(${SANITIZE_UB},trap)
ifeq
(${SANITIZE_UB},trap)
$(eval
$(call
add_define,MONITOR_TRAPS))
$(eval
$(call
add_define,MONITOR_TRAPS))
...
...
docs/getting_started/build-options.rst
View file @
12293ba7
...
@@ -648,6 +648,13 @@ Common build options
...
@@ -648,6 +648,13 @@ Common build options
configuration
device
tree
,
instead
of
static
structure
in
the
code
base
.
configuration
device
tree
,
instead
of
static
structure
in
the
code
base
.
This
is
currently
an
experimental
feature
.
This
is
currently
an
experimental
feature
.
-
``
COT_DESC_IN_DTB
``:
This
flag
determines
whether
to
create
COT
descriptors
at
runtime
using
fconf
.
If
this
flag
is
enabled
,
COT
descriptors
are
statically
captured
in
tb_fw_config
file
in
the
form
of
device
tree
nodes
and
properties
.
Currently
,
COT
descriptors
used
by
BL2
are
moved
to
the
device
tree
and
COT
descriptors
used
by
BL1
are
retained
in
the
code
base
statically
.
This
is
currently
an
experimental
feature
.
-
``
SDEI_IN_FCONF
``:
This
flag
determines
whether
to
configure
SDEI
setup
in
-
``
SDEI_IN_FCONF
``:
This
flag
determines
whether
to
configure
SDEI
setup
in
runtime
using
firmware
configuration
framework
.
The
platform
specific
SDEI
runtime
using
firmware
configuration
framework
.
The
platform
specific
SDEI
shared
and
private
events
configuration
is
retrieved
from
device
tree
rather
shared
and
private
events
configuration
is
retrieved
from
device
tree
rather
...
...
make_helpers/defaults.mk
View file @
12293ba7
...
@@ -305,3 +305,6 @@ ERRATA_SPECULATIVE_AT := 0
...
@@ -305,3 +305,6 @@ ERRATA_SPECULATIVE_AT := 0
# Trap RAS error record access from lower EL
# Trap RAS error record access from lower EL
RAS_TRAP_LOWER_EL_ERR_ACCESS
:=
0
RAS_TRAP_LOWER_EL_ERR_ACCESS
:=
0
# Build option to create cot descriptors using fconf
COT_DESC_IN_DTB
:=
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