Merge changes from topic "enable_assertion" into integration

* changes:
  feat(zynqmp): enable assertion
  feat(versal-net): enable assertion
  feat(versal): enable assertion
This commit is contained in:
Joanna Farley 2023-11-06 17:55:20 +01:00 committed by TrustedFirmware Code Review
commit 1684c8d6a1
3 changed files with 10 additions and 0 deletions

View file

@ -54,6 +54,9 @@ ifeq (${PLAT_XLAT_TABLES_DYNAMIC},1)
$(eval $(call add_define,PLAT_XLAT_TABLES_DYNAMIC))
endif
# enable assert() for release/debug builds
ENABLE_ASSERTIONS := 1
PLAT_INCLUDES := -Iinclude/plat/arm/common/ \
-Iplat/xilinx/common/include/ \
-Iplat/xilinx/common/ipi_mailbox_service/ \

View file

@ -69,6 +69,9 @@ ifdef XILINX_OF_BOARD_DTB_ADDR
$(eval $(call add_define,XILINX_OF_BOARD_DTB_ADDR))
endif
# enable assert() for release/debug builds
ENABLE_ASSERTIONS := 1
PLAT_INCLUDES := -Iinclude/plat/arm/common/ \
-Iplat/xilinx/common/include/ \
-Iplat/xilinx/common/ipi_mailbox_service/ \

View file

@ -49,6 +49,10 @@ ifdef ZYNQMP_ATF_MEM_BASE
ifdef ZYNQMP_ATF_MEM_PROGBITS_SIZE
$(eval $(call add_define,ZYNQMP_ATF_MEM_PROGBITS_SIZE))
endif
# enable assert() when TF-A runs from DDR memory.
ENABLE_ASSERTIONS := 1
endif
ifdef ZYNQMP_BL32_MEM_BASE