[PATCH 0/2] efi: fix block io revision and test

Vincent Stehlé vincent.stehle at arm.com
Tue Jun 9 10:07:03 CEST 2026


Make sure we set the Revision field of our EFI_BLOCK_IO_PROTOCOL structures
to a valid value and add a unit test to verify that.

This can be tested on the sandbox with the following command:

  ./u-boot -T -c 'setenv efi_selftest block device; bootefi selftest'

Signed-off-by: Vincent Stehlé <vincent.stehle at arm.com>
---
Vincent Stehlé (2):
      lib/efi_loader: fix block io revision
      lib/efi_selftest: test block io revision

 lib/efi_loader/efi_disk.c                    |  1 +
 lib/efi_selftest/efi_selftest_block_device.c | 50 ++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)
---
base-commit: 1a8b7ad50aed5f5f0a4ccbfd455233919c097293
change-id: 20260608-rev-772dedbb2fda

Best regards,
-- 
Vincent.



More information about the U-Boot mailing list