]> git.baikalelectronics.ru Git - uboot.git/commit
bootstd: Provide a bootmeth method to obtain state info
authorSimon Glass <sjg@chromium.org>
Sat, 30 Jul 2022 21:52:19 +0000 (15:52 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 12 Aug 2022 12:14:24 +0000 (08:14 -0400)
commit97ca4d553ecaa29d19d52d48d0e48b1b36213d16
tree5b2d7bc4a9a821179fd89658252469405f0cc747
parent4611c81b720dec7291ccd92e9d4066f4a6035065
bootstd: Provide a bootmeth method to obtain state info

Some bootmeths can provide information about what is available to boot.
For example, VBE simple provides access to the firmware state.

Add a new method for this, along with a sandbox test.

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