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

Simon Glass
2023-08-25T23:53:42Z

On Fri, 25 Aug 2023 at 13:39, Joshua Watt <jpewhacker@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@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@chromium.org>