From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sun, 22 Oct 2017 16:34:10 +0200 Subject: [U-Boot] [PATCH v2 5/5] cmd: gpt: solve issue for swap In-Reply-To: <1508170655-17707-6-git-send-email-patrick.delaunay@st.com> References: <1508170655-17707-1-git-send-email-patrick.delaunay@st.com> <1508170655-17707-6-git-send-email-patrick.delaunay@st.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 lost data during swap > > Signed-off-by: Patrick Delaunay > --- > > Changes in v2: None > > cmd/gpt.c | 12 ++++++------ > test/py/tests/test_gpt.py | 12 ++++++------ > 2 files changed, 12 insertions(+), 12 deletions(-) Reviewed-by: Simon Glass