From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 24 Oct 2017 14:15:37 -0400 Subject: [U-Boot] [U-Boot, v3, 6/6] cmd: gpt: solve issue for swap and rename command In-Reply-To: <1508332268-2280-7-git-send-email-patrick.delaunay@st.com> References: <1508332268-2280-7-git-send-email-patrick.delaunay@st.com> Message-ID: <20171024181537.GP22919@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Acked-by: Stephen Warren > Tested-by: Stephen Warren 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: