]> git.dujemihanovic.xyz Git - u-boot.git/commit
Allow last block to be read
authorJesper Schmitz Mouridsen <jesper@schmitz.computer>
Tue, 9 Feb 2021 16:17:17 +0000 (17:17 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 21 Feb 2021 08:21:35 +0000 (09:21 +0100)
commite67beffee0795fbe3c2c6e65d9b63eb2b96897a2
treefd0b5f8ef06944ecc145b65fd7277a7babcae425
parentea966d24ef3a9f7f32712a518a07374f9ae43905
Allow last block to be read

The last block is of size media->block_size

Signed-off-by: Jesper Schmitz Mouridsen <jesper@schmitz.computer>
Simplify expression.
Apply same change to efi_disk_write_blocks().

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_disk.c