u-boot/lib/efi_loader
Heinrich Schuchardt e731af4893 efi_loader: correct includes in efi_variable.c
'make tests' on an 32bit ARM system leads to

In file included from ../lib/efi_loader/efi_variable.c:9:
../include/malloc.h:364:7: error: conflicting types for ‘memset’
 void* memset(void*, int, size_t);
       ^~~~~~
In file included from ../include/compiler.h:126,
                 from ../include/env.h:12,
                 from ../lib/efi_loader/efi_variable.c:8:
../include/linux/string.h:103:15:
note: previous declaration of ‘memset’ was here
 extern void * memset(void *,int,__kernel_size_t);
               ^~~~~~
In file included from ../lib/efi_loader/efi_variable.c:9:
../include/malloc.h:365:7: error: conflicting types for ‘memcpy’
 void* memcpy(void*, const void*, size_t);
       ^~~~~~
In file included from ../include/compiler.h:126,
                 from ../include/env.h:12,
                 from ../lib/efi_loader/efi_variable.c:8:
../include/linux/string.h:106:15:
note: previous declaration of ‘memcpy’ was here
 extern void * memcpy(void *,const void *,__kernel_size_t);
               ^~~~~~

Use common.h as first include as recommended by the U-Boot coding style
guide.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2019-10-30 17:49:41 +01:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_acpi.c efi_loader: Install ACPI configuration tables 2018-07-02 09:23:28 +08:00
efi_bootmgr.c efi_loader: function comments efi_bootmgr.c 2019-07-16 22:17:20 +00:00
efi_boottime.c efi_loader: incorrect return value form DisconnectController 2019-09-20 20:09:18 +02:00
efi_console.c doc: UEFI API documentation 2019-09-05 23:18:52 +02:00
efi_device_path_to_text.c efi: device path for nvme 2019-10-06 16:02:37 +02:00
efi_device_path_utilities.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_device_path.c efi_loader: device_path: check against file path length 2019-10-17 19:19:55 +02:00
efi_disk.c efi_loader: disk: install FILE_SYSTEM_PROTOCOL only if available 2019-10-17 19:19:56 +02:00
efi_file.c efi_loader: parameter checks EFI_FILE_PROTOCOL.SetInfo() 2019-09-11 21:51:38 +02:00
efi_freestanding.c efi_loader: provide freestanding library 2019-02-13 09:40:06 +01:00
efi_gop.c doc: UEFI API documentation 2019-09-05 23:18:52 +02:00
efi_hii_config.c efi_loader: debug output for HII protocols 2019-02-13 09:40:06 +01:00
efi_hii.c efi_loader: ListPackageLists() return EFI_NOT_FOUND 2019-06-20 22:26:19 +00:00
efi_image_loader.c efi_loader: unload applications upon Exit() 2019-05-07 21:10:03 +02:00
efi_memory.c efi_loader: Extract adding a conventional memory in separate routine 2019-09-05 23:18:51 +02:00
efi_net.c doc: UEFI API documentation 2019-09-05 23:18:52 +02:00
efi_root_node.c efi_loader: implement deprecated Unicode collation protocol 2019-05-19 08:10:10 +02:00
efi_runtime.c efi_loader: do not call efi_runtime_detach twice 2019-08-15 20:33:10 +02:00
efi_setup.c efi_loader: initialization of variable services 2019-07-06 21:25:32 +02:00
efi_smbios.c sandbox: smbios: Update to support sandbox 2018-12-02 21:59:37 +01:00
efi_unicode_collation.c efi_loader: description efi_stri_coll() 2019-09-23 22:53:25 +02:00
efi_variable.c efi_loader: correct includes in efi_variable.c 2019-10-30 17:49:41 +01:00
efi_watchdog.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
helloworld.c efi_loader: consistent naming of protocol GUIDs 2019-04-23 00:37:27 +02:00
Kconfig efi_loader: re-enable GRUB workaround on 32bit ARM 2019-07-30 21:36:22 +02:00
Makefile efi_loader: rename Unicode collation protocol 2 variables 2019-05-19 08:10:10 +02:00