commit | 018346770b04e32caf75d5730301f3ba52ed005f | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Aug 26 03:53:41 2023 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sun Aug 27 08:21:07 2023 +0200 |
tree | 979249cc9ab2afe5247e1565849f9ac045209201 | |
parent | eb48efce260aefc0eceec90bd4d9adcd881f1b14 [diff] |
cmd: fix gpt setenv Do not assume that partitions are continuously numbered starting at 1. Having a partition table with a single partition 63 is valid. Fixes: 12fc1f3bb223 ("cmd: gpt: add eMMC and GPT support") Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>