Skip to content
Commit 01834677 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

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: 12fc1f3b ("cmd: gpt: add eMMC and GPT support")
Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent eb48efce
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