]> git.baikalelectronics.ru Git - uboot.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)
commit21db37fe595df791272191e66d60ce06bb121eb8
treefd0b5f8ef06944ecc145b65fd7277a7babcae425
parent4816518eab718757bd60a25d8c4bcdf9178599f2
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