]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: gpt: Add option to write GPT partitions to environment variable
authorFarhan Ali <farhan.ali@broadcom.com>
Fri, 26 Feb 2021 18:17:33 +0000 (10:17 -0800)
committerTom Rini <trini@konsulko.com>
Tue, 4 May 2021 16:52:46 +0000 (12:52 -0400)
commit54bab92eb906f9bf56a930823016552caf534325
tree660a3ba2c59d39c3115a229be57e780d50294212
parent6dfbfbf33c92e376c99cf4b4ec4729637d1fa1ef
cmd: gpt: Add option to write GPT partitions to environment variable

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 <farhan.ali@broadcom.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Corneliu Doban <cdoban@broadcom.com>
Cc: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/gpt.c
doc/README.gpt