summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/files/v2019.07/0009-ARM-socfpga-Stratix10-Fix-el3_exception_vectors-relo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot/files/v2019.07/0009-ARM-socfpga-Stratix10-Fix-el3_exception_vectors-relo.patch')
-rw-r--r--recipes-bsp/u-boot/files/v2019.07/0009-ARM-socfpga-Stratix10-Fix-el3_exception_vectors-relo.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/files/v2019.07/0009-ARM-socfpga-Stratix10-Fix-el3_exception_vectors-relo.patch b/recipes-bsp/u-boot/files/v2019.07/0009-ARM-socfpga-Stratix10-Fix-el3_exception_vectors-relo.patch
new file mode 100644
index 0000000..54fa812
--- /dev/null
+++ b/recipes-bsp/u-boot/files/v2019.07/0009-ARM-socfpga-Stratix10-Fix-el3_exception_vectors-relo.patch
@@ -0,0 +1,32 @@
1From 8569e08a1a4b3bd810f60083058053a39b27534e Mon Sep 17 00:00:00 2001
2From: Chee Hong Ang <chee.hong.ang@intel.com>
3Date: Sat, 18 May 2019 16:42:10 +0800
4Subject: [PATCH 09/12] ARM: socfpga: Stratix10: Fix el3_exception_vectors
5 relocation issue
6
7New toolchain has issue relocating the 32-bit pointer to address of
8el3_exception_vectors in secure section. This patch make sure the
9address pointer to the secure section is 64-bit.
10
11Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
12---
13 arch/arm/mach-socfpga/lowlevel_init.S | 3 +--
14 1 file changed, 1 insertion(+), 2 deletions(-)
15
16diff --git a/arch/arm/mach-socfpga/lowlevel_init.S b/arch/arm/mach-socfpga/lowlevel_init.S
17index 832785a682..342d5190b5 100644
18--- a/arch/arm/mach-socfpga/lowlevel_init.S
19+++ b/arch/arm/mach-socfpga/lowlevel_init.S
20@@ -12,8 +12,7 @@
21 #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_ARMV8_PSCI)
22 .align 3
23 _el3_exception_vectors:
24- .word el3_exception_vectors;
25- .word 0
26+ .quad el3_exception_vectors;
27 #endif
28
29 ENTRY(lowlevel_init)
30--
312.21.0
32