Merge changes from topic "xlnx_enable_errata" into integration

* changes:
  docs(versal): add ERRATA_ABI_SUPPORT build documentation
  feat(versal): enable errata management feature
This commit is contained in:
Joanna Farley 2023-12-20 17:53:58 +01:00 committed by TrustedFirmware Code Review
commit 215edffcb6
2 changed files with 11 additions and 0 deletions

View file

@ -29,6 +29,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 Errata management interface
```bash
make RESET_TO_BL31=1 CROSS_COMPILE=aarch64-none-elf- PLAT=versal bl31 ERRATA_ABI_SUPPORT=1
```
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

View file

@ -116,3 +116,9 @@ BL31_SOURCES += drivers/arm/cci/cci.c \
ifeq ($(HARDEN_SLS_ALL), 1)
TF_CFLAGS_aarch64 += -mharden-sls=all
endif
ifeq (${ERRATA_ABI_SUPPORT}, 1)
# enable the cpu macros for errata abi interface
CORTEX_A72_H_INC := 1
$(eval $(call add_define, CORTEX_A72_H_INC))
endif