diff options
author | Richard Retanubun <RichardRetanubun@RuggedCom.com> | 2009-01-26 08:45:14 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-01-27 23:03:57 +0100 |
commit | 50970839712dda35399e2fa83fe818df9354d618 (patch) | |
tree | fb9b8410b277709ba769d743467596704e5f675a /lib_arm | |
parent | b5b004ad8a0ac6f98bd5708ec8b22fbddd1c1042 (diff) | |
download | u-boot-imx-50970839712dda35399e2fa83fe818df9354d618.zip u-boot-imx-50970839712dda35399e2fa83fe818df9354d618.tar.gz u-boot-imx-50970839712dda35399e2fa83fe818df9354d618.tar.bz2 |
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>
Diffstat (limited to 'lib_arm')
0 files changed, 0 insertions, 0 deletions