]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit10fdd442544fb7d25a6899b9d17a55b6bf011c1e
tree7ac46f4aabba98d4037400acd4af8dcb3ff41d33
parentd88db95f6266b204691ae9861f573a0abb1c0fda
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