Replace macro ASM_ASSERTION with macro ENABLE_ASSERTIONS
This patch replaces the macro ASM_ASSERTION with the macro
ENABLE_ASSERTIONS in ARM Cortex-A53/57/72 MPCore Processor
related files. There is build error when ASM_ASSERTION is set
to 1 and ENABLE_ASSERTIONS is set to 0 because function
asm_assert in common/aarch32/debug.S is defined in the macro
ENABLE_ASSERTIONS but is called with the macro ASM_ASSERTION.

There is also the indication to use ENABLE_ASSERTIONS but not
ASM_ASSERTION in the Makefile.

Signed-off-by: Matt Ma <matt.ma@spreadtrum.com>
1 parent 203444c commit 5f70d8de5b696a7b21284d96839caa981c8fdf30
@Matt Ma Matt Ma authored on 22 Nov 2017
Showing 4 changed files
View
lib/cpus/aarch32/cortex_a53.S
View
lib/cpus/aarch32/cortex_a57.S
View
lib/cpus/aarch32/cortex_a72.S
View
make_helpers/defaults.mk