Add macro to calculate number of elements in an array
authorVikram Kanigiri <vikram.kanigiri@arm.com>
Wed, 4 Mar 2015 10:34:27 +0000 (10:34 +0000)
committerVikram Kanigiri <vikram.kanigiri@arm.com>
Mon, 16 Mar 2015 18:37:34 +0000 (18:37 +0000)
commita7e98ad5145bb57fd18d199f915c76ef376cf227
treeb73a3f97e20741461f98f65d6967cb9f5ac1ea69
parent5930eadbe5d8d4c3f15fd910476f72cd5bf86f44
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
drivers/io/io_fip.c
include/common/bl_common.h
lib/aarch64/xlat_tables.c
plat/fvp/aarch64/fvp_common.c
plat/juno/aarch64/juno_common.c