diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-04-21 09:37:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-21 09:37:36 +0100 |
commit | 2edf64827f2fc807c54b9cf79fba3d112885a890 (patch) | |
tree | a3f11c9ec580209e36e6d2508fd703ed17bc7297 /drivers/arm/cci | |
parent | 85aa186ba11f49efef8e859cf5cab737c3ade26b (diff) | |
parent | aa61368eb554e9910c503f78560153805a2d6859 (diff) |
Merge pull request #906 from antonio-nino-diaz-arm/an/asserts-release
Add `ENABLE_ASSERTIONS` build option
Diffstat (limited to 'drivers/arm/cci')
-rw-r--r-- | drivers/arm/cci/cci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/arm/cci/cci.c b/drivers/arm/cci/cci.c index 122e6b5f..0fcec850 100644 --- a/drivers/arm/cci/cci.c +++ b/drivers/arm/cci/cci.c @@ -39,7 +39,7 @@ static uintptr_t g_cci_base; static unsigned int g_max_master_id; static const int *g_cci_slave_if_map; -#if DEBUG +#if ENABLE_ASSERTIONS static int validate_cci_map(const int *map) { unsigned int valid_cci_map = 0; @@ -72,7 +72,7 @@ static int validate_cci_map(const int *map) return 1; } -#endif /* DEBUG */ +#endif /* ENABLE_ASSERTIONS */ void cci_init(uintptr_t cci_base, const int *map, |