On Fri, 26 Feb 2021 at 13:17, Farhan Ali <[email protected]> wrote: > > This change would enhance the existing 'gpt read' command to allow > (optionally) writing of the read GPT partitions to an environment > variable in the UBOOT partitions layout format. This would allow users > to easily change the overall partition settings by editing said variable > and then using the variable in the 'gpt write' and 'gpt verify' commands. > > Signed-off-by: Farhan Ali <[email protected]> > Cc: Simon Glass <[email protected]> > Cc: Heinrich Schuchardt <[email protected]> > Cc: Corneliu Doban <[email protected]> > Cc: Rayagonda Kokatanur <[email protected]> > Cc: Rasmus Villemoes <[email protected]> > > --- > Changes for v2: > - Checked for argv[4] existence before calling do_get_gpt_info > - Added missing update to doc/README.gpt > --- > cmd/gpt.c | 46 ++++++++++++++++++++++++++++++++++++++-------- > doc/README.gpt | 17 +++++++++++++++++ > 2 files changed, 55 insertions(+), 8 deletions(-) >
Reviewed-by: Simon Glass <[email protected]>

