diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2017-05-02 17:29:01 +0100 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2017-05-10 10:51:07 +0100 |
commit | f1e2be4f913d162d7b72a1abdbdc6145f184ed69 (patch) | |
tree | 1606254f02e1178dae067ba6e0a0789f9d859a74 /fwu | |
parent | b0ad813ef91634a29aae66df5eb727991c0ca28d (diff) |
Implement asm_assert()
Even though the code had a few references to this function and to
ASM_ASSERTION they were only leftover code from when that code was
copied from the Trusted Firmware.
The function asm_assert has actually been implemented, using the plat
crash console for printing the error messages.
All occurrences of ASM_ASSERTION replaced by ENABLE_ASSERTIONS.
Change-Id: I73350eda3eb53d173b7767986c3b0e891b87cf1a
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'fwu')
-rw-r--r-- | fwu/ns_bl1u/ns_bl1u.mk | 3 | ||||
-rw-r--r-- | fwu/ns_bl2u/ns_bl2u.mk | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/fwu/ns_bl1u/ns_bl1u.mk b/fwu/ns_bl1u/ns_bl1u.mk index 674e1c5..8272992 100644 --- a/fwu/ns_bl1u/ns_bl1u.mk +++ b/fwu/ns_bl1u/ns_bl1u.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -31,6 +31,7 @@ NS_BL1U_SOURCES := drivers/io/io_fip.c \ drivers/io/io_memmap.c \ framework/${ARCH}/arch.c \ + framework/${ARCH}/asm_debug.S \ framework/${ARCH}/exceptions.S \ framework/debug.c \ fwu/ns_bl1u/${ARCH}/ns_bl1u_entrypoint.S \ diff --git a/fwu/ns_bl2u/ns_bl2u.mk b/fwu/ns_bl2u/ns_bl2u.mk index 2fec571..aa9095a 100644 --- a/fwu/ns_bl2u/ns_bl2u.mk +++ b/fwu/ns_bl2u/ns_bl2u.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -29,6 +29,7 @@ # NS_BL2U_SOURCES := framework/${ARCH}/arch.c \ + framework/${ARCH}/asm_debug.S \ framework/${ARCH}/exceptions.S \ framework/debug.c \ fwu/ns_bl2u/${ARCH}/ns_bl2u_entrypoint.S \ |