]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: duplicate IMAGE_SUBSYSTEM_EFI_APPLICATION
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 11 Jul 2019 04:07:40 +0000 (06:07 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 16 Jul 2019 22:17:14 +0000 (22:17 +0000)
IMAGE_SUBSYSTEM_EFI_APPLICATION is already defined in
include/asm-generic/pe.h which is included in include/pe.h. We should
not define it twice.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/pe.h

index 36e1908b7eafeb32c2032efcf49a0d3f4f48ad5c..c7aeb2dcb6fbb9d854365e9e8332f83ddcef05d6 100644 (file)
@@ -48,7 +48,6 @@ typedef struct _IMAGE_DOS_HEADER {
 
 #define IMAGE_NT_OPTIONAL_HDR32_MAGIC  0x10b
 #define IMAGE_NT_OPTIONAL_HDR64_MAGIC  0x20b
-#define IMAGE_SUBSYSTEM_EFI_APPLICATION        10
 
 typedef struct _IMAGE_FILE_HEADER {
        uint16_t Machine;