arm-trusted-firmware/plat/xilinx/zynqmp/pm_service
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
..
pm_api_sys.c zynqmp: pm: Implement pm_register_notifier PM API function 2016-05-24 10:18:07 -07:00
pm_api_sys.h zynqmp: pm: Implemented 'get_op_characteristic' PM API call 2016-05-24 10:18:07 -07:00
pm_client.c Introduce utils.h header file 2016-07-08 14:37:11 +01:00
pm_client.h zynqmp: pm: Removed double declaration of pm_ipi_send functions 2016-05-24 10:18:06 -07:00
pm_common.h Add support for Xilinx Zynq UltraScale+ MPSOC 2016-04-06 10:44:27 -07:00
pm_defs.h zynqmp: pm: Added NODE_IPI_APU slave node ID in pm_defs.h 2016-06-07 13:30:37 -07:00
pm_ipi.c zynqmp: Put pm_secure_lock in coherent memory region 2016-05-24 10:18:07 -07:00
pm_ipi.h Add support for Xilinx Zynq UltraScale+ MPSOC 2016-04-06 10:44:27 -07:00
pm_svc_main.c zynqmp: pm: Implemented 'get_op_characteristic' PM API call 2016-05-24 10:18:07 -07:00
pm_svc_main.h Add support for Xilinx Zynq UltraScale+ MPSOC 2016-04-06 10:44:27 -07:00