[PATCH 1/3] cmd: fix gpt setenv
Simon Glass
sjg at chromium.org
Sat Aug 26 04:04:30 CEST 2023
On Fri, 25 Aug 2023 at 19:53, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Do not assume that partitions are continuously numbered starting at 1.
>
> Having a partition table with a single partition 63 is valid.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> cmd/gpt.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
I would like to have a map / list of the partition on a disk for
bootstd. At present we iterate through a lot of partitions that are
not present.
What do you think?
Regards,
Simon
More information about the U-Boot
mailing list