[U-Boot] [U-Boot, v3, 6/6] cmd: gpt: solve issue for swap and rename command

Tom Rini trini at konsulko.com
Tue Oct 24 18:15:37 UTC 2017


On Wed, Oct 18, 2017 at 03:11:08PM +0200, Patrick Delaunay wrote:

> don't use prettyprint_part_size() in create_gpt_partitions_list()
> that avoid to align offset and size to 1 MiB and increase precision for
> start and size.
> This patch avoid the risk to change partition size and lost data during
> rename or swap.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> Acked-by: Stephen Warren <swarren at nvidia.com>
> Tested-by: Stephen Warren <swarren at nvidia.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171024/f67690d3/attachment.sig>


More information about the U-Boot mailing list