diff options
author | Ronan <ronan.lemartret@iot.bzh> | 2017-01-09 08:35:01 +0100 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-01-10 19:38:45 +0000 |
commit | 5a98d74d318a2ed2940c3ec15d13f1dffaeacebf (patch) | |
tree | abf51b65dd808b4b561464ba9d31f096a65f61ca /meta-agl-bsp/meta-rcar-gen3 | |
parent | 4a421d9443723ca6835568750a80ffba4b117a16 (diff) |
fix build with gcc6
Change-Id: Iebddf4bed98a8216a521b5e8871b4dc111f3716e
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-agl-bsp/meta-rcar-gen3')
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend new file mode 100644 index 000000000..8c6ebbf89 --- /dev/null +++ b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + +SRC_URI += " \ + file://0001-fix-arm-trusted-firmware-build-for-gcc6.patch \ + " diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/files/0001-fix-arm-trusted-firmware-build-for-gcc6.patch b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/files/0001-fix-arm-trusted-firmware-build-for-gcc6.patch new file mode 100644 index 000000000..521ebf6a6 --- /dev/null +++ b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/files/0001-fix-arm-trusted-firmware-build-for-gcc6.patch @@ -0,0 +1,26 @@ +From 8cb6df40576297689752a6434235033f01730473 Mon Sep 17 00:00:00 2001 +From: Ronan <ronan.lemartret@iot.bzh> +Date: Fri, 6 Jan 2017 17:39:29 +0100 +Subject: [PATCH] fix arm-trusted-firmware build for gcc6 + +Signed-off-by: Ronan <ronan.lemartret@iot.bzh> +--- + include/bl31/runtime_svc.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/bl31/runtime_svc.h b/include/bl31/runtime_svc.h +index f112418..0125fc8 100644 +--- a/include/bl31/runtime_svc.h ++++ b/include/bl31/runtime_svc.h +@@ -57,7 +57,7 @@ + #define SMC_64 1 + #define SMC_32 0 + #define SMC_UNK 0xffffffff +-#define SMC_TYPE_FAST 1 ++#define SMC_TYPE_FAST 1U + #define SMC_TYPE_STD 0 + #define SMC_PREEMPTED 0xfffffffe + /******************************************************************************* +-- +2.6.6 + |