Skip to content
Commit 74a614d7 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_selftest: test EFI_BLOCK_IO_PROTOCOL.Media->LastBlock



The field Media->LastBlock of the EFI_BLOCK_IO_PROTOCOL must be filled
with the index of the last logical block (LBA) for the block device that
our test driver provides.

After calling ConnectController() U-Boot exposes the block IO protocol for
the partition check that the value of Media->LastBlock equals the partition
size minus one.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 472a716b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment