]> git.baikalelectronics.ru Git - kernel.git/commit
efi/libstub: consolidate initrd handling across architectures
authorArd Biesheuvel <ardb@kernel.org>
Fri, 19 Nov 2021 11:47:44 +0000 (13:47 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 21 Nov 2021 16:08:10 +0000 (17:08 +0100)
commitd0297d76179461c29fea82c9f56e220c2938d3ae
tree2860a7f1fd8e86bf944d0ac906aedf509a33c75e
parent78a971c4269b4a1076b45d6d50d10f65c9178b40
efi/libstub: consolidate initrd handling across architectures

Before adding TPM measurement of the initrd contents, refactor the
initrd handling slightly to be more self-contained and consistent.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Link: https://lore.kernel.org/r/20211119114745.1560453-4-ilias.apalodimas@linaro.org
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/efi-stub-helper.c
drivers/firmware/efi/libstub/efi-stub.c
drivers/firmware/efi/libstub/efistub.h
drivers/firmware/efi/libstub/x86-stub.c