From 5a98d74d318a2ed2940c3ec15d13f1dffaeacebf Mon Sep 17 00:00:00 2001 From: Ronan Date: Mon, 9 Jan 2017 08:35:01 +0100 Subject: fix build with gcc6 Change-Id: Iebddf4bed98a8216a521b5e8871b4dc111f3716e Signed-off-by: Ronan --- .../arm-trusted-firmware_git.bbappend | 5 +++++ ...1-fix-arm-trusted-firmware-build-for-gcc6.patch | 26 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bbappend create mode 100644 meta-agl-bsp/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/files/0001-fix-arm-trusted-firmware-build-for-gcc6.patch (limited to 'meta-agl-bsp') 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 +Date: Fri, 6 Jan 2017 17:39:29 +0100 +Subject: [PATCH] fix arm-trusted-firmware build for gcc6 + +Signed-off-by: Ronan +--- + 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 + -- cgit 1.2.3-korg