mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
efi_loader: installation of EFI_RNG_PROTOCOL
Having an EFI_RNG_PROTOCOL without a backing RNG device leads to failure to boot Linux 5.8. Only install the EFI_RNG_PROTOCOL if we have a RNG device. Reported-by: Scott K Logan <logans@cottsay.net> Cc: Neil Armstrong <narmstrong@baylibre.com> Cc: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
796933510f
commit
b59c13d42f
4 changed files with 36 additions and 6 deletions
|
@ -80,10 +80,6 @@ efi_status_t efi_root_node_register(void)
|
|||
/* HII configuration routing protocol */
|
||||
&efi_guid_hii_config_routing_protocol,
|
||||
(void *)&efi_hii_config_routing,
|
||||
#endif
|
||||
#if CONFIG_IS_ENABLED(EFI_RNG_PROTOCOL)
|
||||
&efi_guid_rng_protocol,
|
||||
(void *)&efi_rng_protocol,
|
||||
#endif
|
||||
NULL));
|
||||
efi_root->type = EFI_OBJECT_TYPE_U_BOOT_FIRMWARE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue