]> git.baikalelectronics.ru Git - uboot.git/commit
part: Add a function to find the first bootable partition
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jan 2023 17:47:41 +0000 (10:47 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 23 Jan 2023 23:11:40 +0000 (18:11 -0500)
commitb6d5905bd06622f70bf88fcbdba97a31a74fa9b9
tree4768322f3c36e6a8537b5df083ab68b44b2fd071
parent4f6985cce1283205c45c2089a65d568bd7ecbb93
part: Add a function to find the first bootable partition

If a disk has a bootable partition we are expected to use it to locate the
boot files. Add a function to find it.

To test this, update mmc1 to have two paritions, fixing up other tests
accordingly.

Signed-off-by: Simon Glass <sjg@chromium.org>
disk/part.c
include/part.h
test/boot/bootflow.c
test/dm/part.c
test/py/tests/bootstd/mmc1.img.xz
test/py/tests/test_ut.py