aboutsummaryrefslogtreecommitdiff
path: root/common/aarch32
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2017-04-20 09:58:28 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2017-04-20 09:58:28 +0100
commit044bb2faabd7981af4ef419e1037fec28e5b3f8b (patch)
treec5650c3f5431126e561ccb4a8b8f8554092b8a9d /common/aarch32
parentcc8b56322bb04569a5adf944774b16862782c95b (diff)
downloadtrusted-firmware-a-044bb2faabd7981af4ef419e1037fec28e5b3f8b.tar.gz
Remove build option `ASM_ASSERTION`
The build option `ENABLE_ASSERTIONS` should be used instead. That way both C and ASM assertions can be enabled or disabled together. All occurrences of `ASM_ASSERTION` in common code and ARM platforms have been replaced by `ENABLE_ASSERTIONS`. ASM_ASSERTION has been removed from the user guide. Change-Id: I51f1991f11b9b7ff83e787c9a3270c274748ec6f Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'common/aarch32')
-rw-r--r--common/aarch32/debug.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/aarch32/debug.S b/common/aarch32/debug.S
index bafce7cef8..adb6dc3eeb 100644
--- a/common/aarch32/debug.S
+++ b/common/aarch32/debug.S
@@ -90,7 +90,7 @@ func report_exception
no_ret plat_panic_handler
endfunc report_exception
-#if ASM_ASSERTION
+#if ENABLE_ASSERTIONS
.section .rodata.assert_str, "aS"
assert_msg1:
.asciz "ASSERT: File "
@@ -155,7 +155,7 @@ dec_print_loop:
#endif /* LOG_LEVEL >= LOG_LEVEL_INFO */
no_ret plat_panic_handler
endfunc asm_assert
-#endif
+#endif /* ENABLE_ASSERTIONS */
/*
* This function prints a string from address in r4