fix build with gcc6
[AGL/meta-agl.git] / meta-agl-bsp / meta-rcar-gen3 / recipes-bsp / arm-trusted-firmware / files / 0001-fix-arm-trusted-firmware-build-for-gcc6.patch
1 From 8cb6df40576297689752a6434235033f01730473 Mon Sep 17 00:00:00 2001
2 From: Ronan <ronan.lemartret@iot.bzh>
3 Date: Fri, 6 Jan 2017 17:39:29 +0100
4 Subject: [PATCH] fix arm-trusted-firmware build for gcc6
5
6 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
7 ---
8  include/bl31/runtime_svc.h | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/include/bl31/runtime_svc.h b/include/bl31/runtime_svc.h
12 index f112418..0125fc8 100644
13 --- a/include/bl31/runtime_svc.h
14 +++ b/include/bl31/runtime_svc.h
15 @@ -57,7 +57,7 @@
16  #define SMC_64                         1
17  #define SMC_32                         0
18  #define SMC_UNK                                0xffffffff
19 -#define SMC_TYPE_FAST                  1
20 +#define SMC_TYPE_FAST                  1U
21  #define SMC_TYPE_STD                   0
22  #define SMC_PREEMPTED          0xfffffffe
23  /*******************************************************************************
24 -- 
25 2.6.6
26