Skip to content
Commit 7cc1d87d authored by Joshua Watt's avatar Joshua Watt Committed by Tom Rini
Browse files

cmd: gpt: Add command to swap partition order



Adds a command called "gpt transpose" which will swap the order two
partition table entries in the GPT partition table (but leaves them
pointing to the same locations on disk).

This can be useful for swapping bootloaders in systems that use an A/B
partitioning scheme where the bootrom is hard coded to look for the
bootloader in a specific index in the GPT partition table.

Signed-off-by: default avatarJoshua Watt <JPEWhacker@gmail.com>
parent 648140f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment