Merge "build(bl2): only set BL2_CPPFLAGS for armv8" into integration

This commit is contained in:
Manish Pandey 2022-11-08 12:48:31 +01:00 committed by TrustedFirmware Code Review
commit 3a284d08d1

View file

@ -195,8 +195,10 @@ endif
# Enable CRC instructions via extension for ARMv8-A CPUs. # Enable CRC instructions via extension for ARMv8-A CPUs.
# For ARMv8.1-A, and onwards CRC instructions are default enabled. # For ARMv8.1-A, and onwards CRC instructions are default enabled.
# Enable HW computed CRC support unconditionally in BL2 component. # Enable HW computed CRC support unconditionally in BL2 component.
ifeq (${ARM_ARCH_MINOR},0) ifeq (${ARM_ARCH_MAJOR},8)
ifeq (${ARM_ARCH_MINOR},0)
BL2_CPPFLAGS += -march=armv8-a+crc BL2_CPPFLAGS += -march=armv8-a+crc
endif
endif endif
ifeq ($(PSA_FWU_SUPPORT),1) ifeq ($(PSA_FWU_SUPPORT),1)