[PATCH 2/7] efi: Show the vendor in helloworld
Simon Glass
sjg at chromium.org
Tue Nov 21 12:35:48 CET 2023
Show the vendor name since it useful to see that.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
lib/efi_loader/helloworld.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/efi_loader/helloworld.c b/lib/efi_loader/helloworld.c
index bd72822c0b72..1135d3a3c37e 100644
--- a/lib/efi_loader/helloworld.c
+++ b/lib/efi_loader/helloworld.c
@@ -234,6 +234,9 @@ efi_status_t EFIAPI efi_main(efi_handle_t handle,
(con_out, u"Missing device path for device handle\r\n");
goto out;
}
+ con_out->output_string(con_out, u"Vendor: ");
+ con_out->output_string(con_out, systab->fw_vendor);
+ con_out->output_string(con_out, u"\n");
con_out->output_string(con_out, u"Boot device: ");
ret = print_device_path(device_path, device_path_to_text);
if (ret != EFI_SUCCESS)
--
2.43.0.rc1.413.gea7ed67945-goog
More information about the U-Boot
mailing list