summaryrefslogtreecommitdiff
path: root/board/qualcomm
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-06-20 17:55:24 -0400
committerTom Rini <trini@konsulko.com>2017-06-23 10:38:08 -0400
commit0f546eaf003d5770d1bc6f7a88262b87eda59bb6 (patch)
treeb083db80f78d1e13f8522bbb8a5b6a9647bf15bf /board/qualcomm
parent4e118ce6d8e6f8b2d61f632ec0898886d15fa71c (diff)
board/db410c: add missing linker map entries for efi
Otherwise the loaded image would miss the efi_runtime sections, and fall over hard when grub (for example) tried to call runtime services located in this section. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'board/qualcomm')
-rw-r--r--board/qualcomm/dragonboard410c/u-boot.lds16
1 files changed, 16 insertions, 0 deletions
diff --git a/board/qualcomm/dragonboard410c/u-boot.lds b/board/qualcomm/dragonboard410c/u-boot.lds
index 6e1c5a8a67e..62ac4d7a605 100644
--- a/board/qualcomm/dragonboard410c/u-boot.lds
+++ b/board/qualcomm/dragonboard410c/u-boot.lds
@@ -43,6 +43,22 @@ SECTIONS
. = ALIGN(8);
+ .efi_runtime : {
+ __efi_runtime_start = .;
+ *(efi_runtime_text)
+ *(efi_runtime_data)
+ __efi_runtime_stop = .;
+ }
+
+ .efi_runtime_rel : {
+ __efi_runtime_rel_start = .;
+ *(.relaefi_runtime_text)
+ *(.relaefi_runtime_data)
+ __efi_runtime_rel_stop = .;
+ }
+
+ . = ALIGN(8);
+
.image_copy_end :
{
*(.__image_copy_end)