[PATCH v3 8/8] cmd: gpt: Add command to swap partition order

Simon Glass sjg at chromium.org
Sat Aug 26 01:53:24 CEST 2023


On Fri, 25 Aug 2023 at 13:39, Joshua Watt <jpewhacker at gmail.com> wrote:
>
> Adds a command called "gpt swap-postition" which will swap the order two
> partitions are listed in the GPT partition table (but leaves them
> pointing to the same locations on disk).
>
> Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
> ---
>  cmd/gpt.c                 | 52 ++++++++++++++++++++++++++++++++++++---
>  doc/usage/cmd/gpt.rst     | 23 +++++++++++++++++
>  test/py/tests/test_gpt.py | 18 ++++++++++++++
>  3 files changed, 90 insertions(+), 3 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list