summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-omap2/u-boot-spl.lds6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/u-boot-spl.lds b/arch/arm/mach-omap2/u-boot-spl.lds
index 3bb759d8a1c..5ad169a37b7 100644
--- a/arch/arm/mach-omap2/u-boot-spl.lds
+++ b/arch/arm/mach-omap2/u-boot-spl.lds
@@ -35,9 +35,13 @@ SECTIONS
. = ALIGN(4);
__u_boot_list : {
KEEP(*(SORT(__u_boot_list*)));
+ /*
+ * Ensure 8-byte alignment at the end of the last section before
+ * DTB is appended, to satisfy DT spec alignment requirements
+ */
+ . = ALIGN(8);
} >.sram
- . = ALIGN(4);
__image_copy_end = .;
_end = .;
_image_binary_end = .;