mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2025-02-26 13:36:32 +00:00
feat: enabling stack protector for diphda
This commit activates the stack protector feature for the diphda platform. Change-Id: Ib16b74871c62b67e593a76ecc12cd3634d212614 Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
This commit is contained in:
parent
5360449b61
commit
c7e4f1cfb8
@ -59,6 +59,13 @@ BL31_SOURCES += drivers/cfi/v2m/v2m_flash.c \
|
||||
${DIPHDA_CPU_LIBS} \
|
||||
${DIPHDA_GIC_SOURCES}
|
||||
|
||||
ifneq (${ENABLE_STACK_PROTECTOR},0)
|
||||
ifneq (${ENABLE_STACK_PROTECTOR},none)
|
||||
DIPHDA_SECURITY_SOURCES := plat/arm/board/diphda/common/diphda_stack_protector.c
|
||||
BL2_SOURCES += ${DIPHDA_SECURITY_SOURCES}
|
||||
BL31_SOURCES += ${DIPHDA_SECURITY_SOURCES}
|
||||
endif
|
||||
endif
|
||||
|
||||
FDT_SOURCES += plat/arm/board/diphda/common/fdts/diphda_spmc_manifest.dts
|
||||
DIPHDA_TOS_FW_CONFIG := ${BUILD_PLAT}/fdts/diphda_spmc_manifest.dtb
|
||||
|
Loading…
x
Reference in New Issue
Block a user