bootstd: Work around missing partition 1
authorSimon Glass <sjg@chromium.org>
Fri, 28 Apr 2023 19:18:09 +0000 (13:18 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 13 May 2023 13:52:32 +0000 (09:52 -0400)
commit76afc8457eb2f55771d9c9e2ba6106bac43a166b
tree7ac46f4aabba98d4037400acd4af8dcb3ff41d33
parente94fbdd2729fdcd570035d43f67adda8e0dfc115
bootstd: Work around missing partition 1

If there is no partition numbered 1, we decide that there are no
partitions at all. That may not be correct, since at least one Debian
installed has just a single partition numbered 2.

Continue searching up to partition 3, just in case.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootdev-uclass.c