commit | 413dfc77945ec5d308021e2dfacad1d0934063e1 | [log] [tgz] |
---|---|---|
author | Richard Retanubun <RichardRetanubun@RuggedCom.com> | Mon Jan 26 08:45:14 2009 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Tue Jan 27 23:03:57 2009 +0100 |
tree | fb9b8410b277709ba769d743467596704e5f675a | |
parent | 63440e0732747be38881c3039fba3c456227a742 [diff] |
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>