u-boot/disk
Richard Retanubun 5097083971 part_efi: Fix partition size calculation due to inclusive ending LBA.
The ending LBA is inclusive. Hence, the partition size should be
((ending-LBA + 1) - starting-LBA) to get the proper partition size.

This is confirmed against the results from the parted tool.
(e.g. use parted /dev/sda -s unit S print) and observe the size.

Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
2009-01-27 23:03:57 +01:00
..
Makefile Add support for CONFIG_EFI_PARTITION (GUID Partition Table) 2008-10-18 21:54:01 +02:00
part_amiga.c disk/: Remove obsolete references to CONFIG_COMMANDS 2007-07-09 17:22:37 -05:00
part_amiga.h * Code cleanup: 2003-06-27 21:31:46 +00:00
part_dos.c ata: add the support for SATA framework 2008-03-26 23:38:51 +01:00
part_dos.h * Patches by Denis Peter, 9 Sep 2003: 2003-09-10 22:30:53 +00:00
part_efi.c part_efi: Fix partition size calculation due to inclusive ending LBA. 2009-01-27 23:03:57 +01:00
part_efi.h Coding Style cleanup, update CHANGELOG 2008-11-02 16:14:22 +01:00
part_iso.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
part_iso.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
part_mac.c ata: add the support for SATA framework 2008-03-26 23:38:51 +01:00
part_mac.h * Code cleanup: 2003-06-27 21:31:46 +00:00
part.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00