]> git.sur5r.net Git - u-boot/commitdiff
ARM: tegra: ensure nvtboot_boot_x0 alignment
authorStephen Warren <swarren@nvidia.com>
Wed, 19 Oct 2016 21:18:44 +0000 (15:18 -0600)
committerTom Warren <twarren@nvidia.com>
Mon, 7 Nov 2016 22:36:28 +0000 (14:36 -0800)
nvtboot_boot_x0 is a 64-bit variable and hence must be 64-bit aligned.
So far this has happened by accident! Fix the code so this is guaranteed.

This fixes the following build error:
... relocation truncated to fit: R_AARCH64_LDST64_ABS_LO12_NC
    against symbol `nvtboot_boot_x0' ...

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/tegra186/nvtboot_ll.S

index 1eab890958c7aa4b67763474e197b35203db3a55..899c9cccbe843a69d1de2cddeec168074ef8e00c 100644 (file)
@@ -9,6 +9,7 @@
 #include <config.h>
 #include <linux/linkage.h>
 
+.align 8
 .globl nvtboot_boot_x0
 nvtboot_boot_x0:
        .dword 0