diff options
Diffstat (limited to 'include/common/bl_common.h')
-rw-r--r-- | include/common/bl_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common/bl_common.h b/include/common/bl_common.h index 0959c893a..b36c9d35d 100644 --- a/include/common/bl_common.h +++ b/include/common/bl_common.h @@ -108,6 +108,8 @@ #include <stdint.h> #include <stddef.h> +#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) + /******************************************************************************* * Structure used for telling the next BL how much of a particular type of * memory is available for its use and how much is already used. |