]> git.baikalelectronics.ru Git - kernel.git/commit
efi/libstub: Move file I/O support code into separate file
authorArd Biesheuvel <ardb@kernel.org>
Mon, 10 Feb 2020 16:02:43 +0000 (17:02 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:57:15 +0000 (21:57 +0100)
commite262abbdac21e078f8b1349446835f2e1b821596
tree6d9f1bd27f7dc1b941ac454d8148e0fe658d9a85
parent7c98ecc742cea27a6b94e8a242f7084371561d23
efi/libstub: Move file I/O support code into separate file

Split off the file I/O support code into a separate source file so
it ends up in a separate object file in the static library, allowing
the linker to omit it if the routines are not used.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/Makefile
drivers/firmware/efi/libstub/efi-stub-helper.c
drivers/firmware/efi/libstub/efistub.h
drivers/firmware/efi/libstub/file.c [new file with mode: 0644]