]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootstd: Add an implementation of distro boot
authorSimon Glass <sjg@chromium.org>
Mon, 25 Apr 2022 05:31:13 +0000 (23:31 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 25 Apr 2022 14:00:04 +0000 (10:00 -0400)
commit31aefaf89a5b5b259244a2ca83862e8d172a03a9
tree81cfc893efbf6c3eb5f26ce4b8a44c0f961613ca
parent7fca71d0d626aed1735f1d9719f473567207affb
bootstd: Add an implementation of distro boot

Add a bootmeth driver which handles distro boot from a disk, so we can
boot a bootflow using this commonly used mechanism.

In effect, this provides the same functionality as the 'sysboot' command
and shares the same code. But the interface into it is via a bootmeth.

For now this requires the 'pxe' command be enabled. Future work may tidy
this up so that it can be used without CONFIG_CMDLINE being enabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
MAINTAINERS
boot/Kconfig
boot/Makefile
boot/bootmeth_distro.c [new file with mode: 0644]
include/distro.h [new file with mode: 0644]