]> git.baikalelectronics.ru Git - uboot.git/commit
bootstd: Only scan bootable partitions
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:42 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:40 +0000 (18:11 -0500)
commitabb44647b57a53d6fc9ec83c8b1428c1b4b593e8
treedd22560415627197881a374a11b4d55f4fff5af2
parentb6d5905bd06622f70bf88fcbdba97a31a74fa9b9
bootstd: Only scan bootable partitions

At present all partitions are scanned, whether marked bootable or not.
Use only bootable partitions, defaulting to partition 1 if none is
found.

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