Control inclusion of helper code used for asserts
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Wed, 22 Mar 2017 15:48:51 +0000 (15:48 +0000)
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>
Thu, 20 Apr 2017 08:59:12 +0000 (09:59 +0100)
commitaa61368eb554e9910c503f78560153805a2d6859
treeffcdb0f2665acbfebd1d866cefb0724600162ce0
parent044bb2faabd7981af4ef419e1037fec28e5b3f8b
Control inclusion of helper code used for asserts

Many asserts depend on code that is conditionally compiled based on the
DEBUG define. This patch modifies the conditional inclusion of such code
so that it is based on the ENABLE_ASSERTIONS build option.

Change-Id: I6406674788aa7e1ad7c23d86ce94482ad3c382bd
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
12 files changed:
bl1/bl1_main.c
drivers/arm/cci/cci.c
drivers/arm/ccn/ccn.c
drivers/arm/tzc/tzc_common_private.h
drivers/arm/tzc/tzc_dmc500.c
drivers/io/io_storage.c
include/lib/el3_runtime/context_mgmt.h
lib/xlat_tables/aarch32/xlat_tables.c
lib/xlat_tables/aarch64/xlat_tables.c
lib/xlat_tables/xlat_tables_common.c
lib/xlat_tables_v2/aarch32/xlat_tables_arch.c
lib/xlat_tables_v2/aarch64/xlat_tables_arch.c