diff options
| author | Heinrich Schuchardt <[email protected]> | 2023-08-26 03:53:42 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2023-08-27 08:21:07 +0200 |
| commit | 41cd23b7be6e097daa5c2b1eda5539de227bf745 (patch) | |
| tree | 46bbe0e1d6384a30f2d7096284cfae23dadc4e91 /scripts/cleanpatch | |
| parent | 018346770b04e32caf75d5730301f3ba52ed005f (diff) | |
cmd: fix gpt enumerate
Do not assume that partitions are numbered continuously starting at 1.
Only a single partition table type can exist on a block device. If we found
a GPT partition table, we must not re-enumerate with the MBR partition
driver which would find the protective partition.
Fixes: 12fc1f3bb223 ("cmd: gpt: add eMMC and GPT support")
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
