Re: [U-Boot] [PATCH v2 5/5] cmd: gpt: solve issue for swap

2017-10-22 Thread Simon Glass
On 16 October 2017 at 18:17, 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

[U-Boot] [PATCH v2 5/5] cmd: gpt: solve issue for swap

2017-10-16 Thread Patrick Delaunay
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 swap Signed-off-by: Patrick Delaunay ---