arm-trusted-firmware/plat
Sandrine Bailleux ed81f3ebbf Introduce utils.h header file
This patch introduces a new header file: include/lib/utils.h.
Its purpose is to provide generic macros and helper functions that
are independent of any BL image, architecture, platform and even
not specific to Trusted Firmware.

For now, it contains only 2 macros: ARRAY_SIZE() and
IS_POWER_OF_TWO(). These were previously defined in bl_common.h and
xlat_tables.c respectively.

bl_common.h includes utils.h to retain compatibility for platforms
that relied on bl_common.h for the ARRAY_SIZE() macro. Upstream
platform ports that use this macro have been updated to include
utils.h.

Change-Id: I960450f54134f25d1710bfbdc4184f12c049a9a9
2016-07-08 14:37:11 +01:00
..
arm Introduce utils.h header file 2016-07-08 14:37:11 +01:00
common Add 32 bit version of plat_get_syscnt_freq 2016-05-20 15:29:03 +01:00
compat PSCI: Implement platform compatibility layer 2015-08-13 20:08:19 +01:00
mediatek Introduce utils.h header file 2016-07-08 14:37:11 +01:00
nvidia/tegra Implement plat_get_syscnt_freq2 on platforms 2016-05-20 15:29:30 +01:00
qemu Add support for QEMU virt ARMv8-A target 2016-06-09 11:23:28 +02:00
rockchip Introduce utils.h header file 2016-07-08 14:37:11 +01:00
xilinx/zynqmp Introduce utils.h header file 2016-07-08 14:37:11 +01:00