]> git.dujemihanovic.xyz Git - u-boot.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)
commitdcffa4428d0359fd09348fc05cf5b5ce2db38c5f
tree4768322f3c36e6a8537b5df083ab68b44b2fd071
parent4146c823fc27c1a4e06d1d25e0a2d4644948a5fc
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