Add macro to calculate number of elements in an array
This patch defines the ARRAY_SIZE macro for calculating number of elements
in an array and uses it where appropriate.

Change-Id: I72746a9229f0b259323972b498b9a3999731bc9b
1 parent 5930ead commit a7e98ad5145bb57fd18d199f915c76ef376cf227
@Vikram Kanigiri Vikram Kanigiri authored on 4 Mar 2015
Showing 5 changed files
View
drivers/io/io_fip.c
View
include/common/bl_common.h
View
lib/aarch64/xlat_tables.c
View
plat/fvp/aarch64/fvp_common.c
View
plat/juno/aarch64/juno_common.c