arm-trusted-firmware/plat/arm/board/fvp
David Cunado 9edac0479d Resolve build errors flagged by GCC 6.2
With GCC 6.2 compiler, more C undefined behaviour is being flagged as
warnings, which result in build errors in ARM TF build.

The specific issue that this patch resolves is the use of (1 << 31),
which is predominantly used in case statements, where 1 is represented
as a signed int. When shifted to msb the behaviour is undefined.

The resolution is to specify 1 as an unsigned int using a convenience
macro ULL(). A duplicate macro MAKE_ULL() is replaced.

Fixes ARM-software/tf-issues#438

Change-Id: I08e3053bbcf4c022ee2be33a75bd0056da4073e1
Signed-off-by: David Cunado <david.cunado@arm.com>
2017-01-26 13:47:37 +00:00
..
aarch32 AArch32: Common changes needed for BL1/BL2 2016-09-21 16:27:15 +01:00
aarch64 Define and use no_ret macro where no return is expected 2016-12-05 14:55:35 +00:00
drivers/pwrc Rework type usage in Trusted Firmware 2016-07-18 17:52:15 +01:00
include Resolve build errors flagged by GCC 6.2 2017-01-26 13:47:37 +00:00
sp_min AArch32: Support in SP_MIN to receive arguments from BL2 2016-09-21 16:28:46 +01:00
tsp Rework use of ARM GIC drivers on ARM platforms 2015-12-09 09:58:17 +00:00
fvp_bl1_setup.c Rework use of interconnect drivers 2016-02-16 20:09:49 +00:00
fvp_bl2_setup.c Replace SP804 timer by generic delay timer on FVP 2016-05-20 15:29:30 +01:00
fvp_bl2u_setup.c FWU: Add Firmware Update support in BL2U for ARM platforms 2015-12-09 17:41:19 +00:00
fvp_bl31_setup.c ARM platform changes for new version of image loading 2016-09-21 16:12:48 +01:00
fvp_common.c Use #ifdef for IMAGE_BL* instead of #if 2017-01-24 01:01:21 +09:00
fvp_def.h Whitelist version 9.6 of Foundation FVP 2016-09-23 13:22:19 +01:00
fvp_err.c Add WFI in platform's unexpected error handlers 2016-08-19 14:04:03 +01:00
fvp_io_storage.c TBB: apply TBBR naming convention to certificates and extensions 2015-12-14 12:29:44 +00:00
fvp_pm.c FVP: Avail GIC Redistributor power management 2016-12-15 14:08:26 +00:00
fvp_private.h Rework use of interconnect drivers 2016-02-16 20:09:49 +00:00
fvp_security.c Migrate ARM standard platforms to the refactored TZC driver 2016-03-31 21:23:23 +01:00
fvp_topology.c Allow multi cluster topology definitions for ARM platforms 2016-02-19 09:18:52 +00:00
fvp_trusted_boot.c Implement plat_set_nv_ctr for FVP platforms 2016-06-03 11:17:03 +01:00
platform.mk AArch32: Add support for ARM Cortex-A32 MPCore Processor 2016-09-21 16:28:55 +01:00