Merge tag 'signed-efi-v2018.03' of git://github.com/agraf/u-boot
[oweals/u-boot.git] / arch / arm / lib / crt0_aarch64_efi.S
index 52056469beb9ead8afa0191412aed06809ae8759..9b0e894f8a2eb373ca4067205c7acd238cf3c67d 100644 (file)
@@ -8,6 +8,8 @@
  * This file is taken and modified from the gnu-efi project.
  */
 
+#include <asm-generic/pe.h>
+
        .section        .text.head
 
        /*
@@ -62,7 +64,7 @@ extra_header_fields:
         */
        .long   _start - ImageBase              /* SizeOfHeaders */
        .long   0                               /* CheckSum */
-       .short  EFI_SUBSYSTEM                   /* Subsystem */
+       .short  IMAGE_SUBSYSTEM_EFI_APPLICATION /* Subsystem */
        .short  0                               /* DllCharacteristics */
        .quad   0                               /* SizeOfStackReserve */
        .quad   0                               /* SizeOfStackCommit */