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>
This commit is contained in:
Simon Glass
2023-01-17 10:47:41 -07:00
committed by Tom Rini
parent 4146c823fc
commit dcffa4428d
6 changed files with 49 additions and 7 deletions

Binary file not shown.