summaryrefslogtreecommitdiffstats
path: root/common/efi
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-10-10 08:08:40 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-10-13 08:33:37 +0200
commit51ab7c4fb4c2dc0bef91b62ef23f4dc73987c02e (patch)
tree2f8286afccc1a281687997ea9cdb4982fa6ebbeb /common/efi
parent78f655d3e791de5774b3b50914d36ec7eb93cc8e (diff)
downloadbarebox-51ab7c4fb4c2dc0bef91b62ef23f4dc73987c02e.tar.gz
barebox-51ab7c4fb4c2dc0bef91b62ef23f4dc73987c02e.tar.xz
hw_random: add EFI RNG driver
The EFI_RNG_PROTOCOL_GUID is quite simple and as such was a good first protocol to implement for the barebox EFI loader support. We don't yet have a payload-side driver making use of it though, so add that here. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20221010060842.2083550-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/efi')
-rw-r--r--common/efi/guid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/efi/guid.c b/common/efi/guid.c
index f16c597a20..93418d57b4 100644
--- a/common/efi/guid.c
+++ b/common/efi/guid.c
@@ -11,6 +11,7 @@ efi_guid_t efi_unknown_device_guid = EFI_UNKNOWN_DEVICE_GUID;
efi_guid_t efi_null_guid = EFI_NULL_GUID;
efi_guid_t efi_global_variable_guid = EFI_GLOBAL_VARIABLE_GUID;
efi_guid_t efi_block_io_protocol_guid = EFI_BLOCK_IO_PROTOCOL_GUID;
+efi_guid_t efi_rng_protocol_guid = EFI_RNG_PROTOCOL_GUID;
efi_guid_t efi_barebox_vendor_guid = EFI_BAREBOX_VENDOR_GUID;
efi_guid_t efi_systemd_vendor_guid = EFI_SYSTEMD_VENDOR_GUID;