Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
be3a51ce
Commit
be3a51ce
authored
3 years ago
by
Madhukar Pappireddy
Committed by
TrustedFirmware Code Review
3 years ago
Browse files
Options
Download
Plain Diff
Merge "feat(plat/versal): add support for SLS mitigation" into integration
parents
d6449d29
302b4dfb
master
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/plat/xilinx-versal.rst
+5
-0
docs/plat/xilinx-versal.rst
plat/xilinx/versal/platform.mk
+5
-0
plat/xilinx/versal/platform.mk
with
10 additions
and
0 deletions
+10
-0
docs/plat/xilinx-versal.rst
View file @
be3a51ce
...
...
@@ -24,6 +24,11 @@ To build TF-A for JTAG DCC console
make RESET_TO_BL31=1 CROSS_COMPILE=aarch64-none-elf- PLAT=versal bl31 VERSAL_CONSOLE=dcc
```
To build TF-A with Straight-Line Speculation(SLS)
```bash
make RESET_TO_BL31=1 CROSS_COMPILE=aarch64-none-elf- PLAT=versal bl31 HARDEN_SLS_ALL=1
```
Xilinx Versal platform specific build options
---------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
plat/xilinx/versal/platform.mk
View file @
be3a51ce
...
...
@@ -9,6 +9,7 @@ SEPARATE_CODE_AND_RODATA := 1
override RESET_TO_BL31
:
= 1
PL011_GENERIC_UART
:=
1
IPI_CRC_CHECK
:=
0
HARDEN_SLS_ALL
:=
0
ifdef
VERSAL_ATF_MEM_BASE
$(eval
$(call
add_define,VERSAL_ATF_MEM_BASE))
...
...
@@ -87,3 +88,7 @@ BL31_SOURCES += drivers/arm/cci/cci.c \
plat/xilinx/versal/pm_service/pm_svc_main.c
\
plat/xilinx/versal/pm_service/pm_api_sys.c
\
plat/xilinx/versal/pm_service/pm_client.c
ifeq
($(HARDEN_SLS_ALL), 1)
TF_CFLAGS_aarch64
+=
-mharden-sls
=
all
endif
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help