u-boot-brain/disk
Kever Yang c2fdd34569 cmd: gpt: fix the wrong size parse for the last partition
The calculation of "dev_desc->lba - 34  - 1 - offset" is not correct for
size '-', because both fist_usable_lba and last_usable_lba will remain
34 sectors.

We can simply use 0 for size '-' because the part_efi module will decode
the size and auto extend the size to maximum available size.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2016-08-05 20:55:16 -04:00
..
Makefile kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
part.c dm: blk: Use the correct error code for blk_get_device_by_str() 2016-05-17 09:54:43 -06:00
part_amiga.c part: Rename test_part_xx() and print_part_xx() 2016-03-14 15:34:50 -06:00
part_amiga.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
part_dos.c part: Rename test_part_xx() and print_part_xx() 2016-03-14 15:34:50 -06:00
part_dos.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
part_efi.c cmd: gpt: fix the wrong size parse for the last partition 2016-08-05 20:55:16 -04:00
part_iso.c iso: Fix part info command 2016-07-22 14:46:19 -04:00
part_iso.h iso: Make little endian and 64bit safe 2016-04-18 17:11:33 -04:00
part_mac.c part: Rename test_part_xx() and print_part_xx() 2016-03-14 15:34:50 -06:00
part_mac.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00