mach-stm32: Enable SPL_RESET_SUPPORT flag
[oweals/u-boot.git] / arch / arm / lib / crt0_arm_efi.S
index 967c885982974d1d4be55035e54420440251996c..0f296f3be4b5ab4a529dfaab1fe36d5bc00174e3 100644 (file)
@@ -1,13 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause */
 /*
  * crt0-efi-arm.S - PE/COFF header for ARM EFI applications
  *
  * Copright (C) 2014 Linaro Ltd. <ard.biesheuvel@linaro.org>
  *
- * SPDX-License-Identifier:     GPL-2.0+     BSD-2-Clause
- *
  * This file is taken and modified from the gnu-efi project.
  */
 
+#include <asm-generic/pe.h>
+
        .section        .text.head
 
        /*
@@ -64,7 +65,7 @@ extra_header_fields:
         */
        .long   _start - image_base             /* SizeOfHeaders */
        .long   0                               /* CheckSum */
-       .short  EFI_SUBSYSTEM                   /* Subsystem */
+       .short  IMAGE_SUBSYSTEM_EFI_APPLICATION /* Subsystem */
        .short  0                               /* DllCharacteristics */
        .long   0                               /* SizeOfStackReserve */
        .long   0                               /* SizeOfStackCommit */