summaryrefslogtreecommitdiff
path: root/arch/arm/mach-zynq
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2022-08-31 11:28:59 +0200
committerMichal Simek <michal.simek@amd.com>2022-09-13 11:32:48 +0200
commitbe3a73c0c42c548bb892faed5b4e8e4fe7cd3295 (patch)
tree8ad2eb6b64504d4cb396e5134778dc9a4ce45e05 /arch/arm/mach-zynq
parenta27278f054309aa9192c858154869fa25bdff5ec (diff)
downloadu-boot-be3a73c0c42c548bb892faed5b4e8e4fe7cd3295.tar.gz
u-boot-be3a73c0c42c548bb892faed5b4e8e4fe7cd3295.tar.bz2
u-boot-be3a73c0c42c548bb892faed5b4e8e4fe7cd3295.zip
ARM: zynq: Align bss and end of u-boot image to 64bits
The main reason is that DT memory reserved code is expecting DT to be 64bit aligned. For more information take a look at commit 5bd5ee02b23b ("xilinx: zynqmp: Check that DT is 64bit aligned"). Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/9f3688cda188d8ea0b462df2aa08a10ddcc9c149.1661938136.git.michal.simek@amd.com
Diffstat (limited to 'arch/arm/mach-zynq')
-rw-r--r--arch/arm/mach-zynq/u-boot.lds4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-zynq/u-boot.lds b/arch/arm/mach-zynq/u-boot.lds
index a5169fd915..3b7c9d515f 100644
--- a/arch/arm/mach-zynq/u-boot.lds
+++ b/arch/arm/mach-zynq/u-boot.lds
@@ -75,7 +75,7 @@ SECTIONS
*(.__efi_runtime_rel_stop)
}
- . = ALIGN(4);
+ . = ALIGN(8);
.image_copy_end :
{
*(.__image_copy_end)
@@ -114,7 +114,7 @@ SECTIONS
.bss __bss_base (OVERLAY) : {
*(.bss*)
- . = ALIGN(4);
+ . = ALIGN(8);
__bss_limit = .;
}