aboutsummaryrefslogtreecommitdiffstats
path: root/plat
diff options
context:
space:
mode:
authorAmbroise Vincent <ambroise.vincent@arm.com>2019-02-14 09:48:21 +0000
committerAmbroise Vincent <ambroise.vincent@arm.com>2019-04-01 10:43:42 +0100
commitbde2836fcc23e8cb98dfa0250937e6d771b260b7 (patch)
treedc66660c7e751147d7d843c1937f905f17973830 /plat
parent609e053caabf0807a71243eec11f49120eaaab61 (diff)
downloadplatform_external_arm-trusted-firmware-bde2836fcc23e8cb98dfa0250937e6d771b260b7.tar.gz
platform_external_arm-trusted-firmware-bde2836fcc23e8cb98dfa0250937e6d771b260b7.tar.bz2
platform_external_arm-trusted-firmware-bde2836fcc23e8cb98dfa0250937e6d771b260b7.zip
Remove several warnings reported with W=2
Improved support for W=2 compilation flag by solving some nested-extern and sign-compare warnings. The libraries are compiling with warnings (which turn into errors with the Werror flag). Outside of libraries, some warnings cannot be fixed. Change-Id: I06b1923857f2a6a50e93d62d0274915b268cef05 Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
Diffstat (limited to 'plat')
-rw-r--r--plat/arm/board/juno/juno_bl1_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/arm/board/juno/juno_bl1_setup.c b/plat/arm/board/juno/juno_bl1_setup.c
index f72a6ff1a..33f5c4791 100644
--- a/plat/arm/board/juno/juno_bl1_setup.c
+++ b/plat/arm/board/juno/juno_bl1_setup.c
@@ -61,7 +61,7 @@ static int is_watchdog_reset(void)
******************************************************************************/
int plat_arm_bl1_fwu_needed(void)
{
- const uint32_t *nv_flags_ptr = (const uint32_t *)V2M_SYS_NVFLAGS_ADDR;
+ const int32_t *nv_flags_ptr = (const int32_t *)V2M_SYS_NVFLAGS_ADDR;
/* Check if TOC is invalid or watchdog reset happened. */
if ((arm_io_is_toc_valid() != 1) ||