diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2017-04-20 09:58:28 +0100 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2017-04-20 09:58:28 +0100 |
commit | 044bb2faabd7981af4ef419e1037fec28e5b3f8b (patch) | |
tree | c5650c3f5431126e561ccb4a8b8f8554092b8a9d /common/aarch64/debug.S | |
parent | cc8b56322bb04569a5adf944774b16862782c95b (diff) | |
download | trusted-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/aarch64/debug.S')
-rw-r--r-- | common/aarch64/debug.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/aarch64/debug.S b/common/aarch64/debug.S index 3d8e0f413f..cdb4ec6cd0 100644 --- a/common/aarch64/debug.S +++ b/common/aarch64/debug.S @@ -41,7 +41,7 @@ /* The offset to add to get ascii for numerals '0 - 9' */ #define ASCII_OFFSET_NUM 0x30 -#if ASM_ASSERTION +#if ENABLE_ASSERTIONS .section .rodata.assert_str, "aS" assert_msg1: .asciz "ASSERT: File " @@ -106,7 +106,7 @@ _assert_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 x4. |