]> git.sur5r.net Git - u-boot/commitdiff
board/db410c: add missing linker map entries for efi
authorRob Clark <robdclark@gmail.com>
Tue, 20 Jun 2017 21:55:24 +0000 (17:55 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 23 Jun 2017 14:38:08 +0000 (10:38 -0400)
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>
board/qualcomm/dragonboard410c/u-boot.lds

index 6e1c5a8a67e54b2de7b6ae35f1dce0f53ac211fd..62ac4d7a605f7ca8c8310696b839c0bf33de693c 100644 (file)
@@ -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)