diff options
author | Simon Glass <sjg@chromium.org> | 2022-04-25 08:31:13 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-25 17:00:04 +0300 |
commit | 31aefaf89a5b5b259244a2ca83862e8d172a03a9 (patch) | |
tree | 81cfc893efbf6c3eb5f26ce4b8a44c0f961613ca /boot/Kconfig | |
parent | 7fca71d0d626aed1735f1d9719f473567207affb (diff) | |
download | u-boot-31aefaf89a5b5b259244a2ca83862e8d172a03a9.tar.xz |
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>
Diffstat (limited to 'boot/Kconfig')
-rw-r--r-- | boot/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index 9faa55a541..d34c31303d 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -326,6 +326,21 @@ config BOOTSTD_FULL - support for selecting the ordering of bootdevs using the devicetree as well as the "boot_targets" environment variable +if BOOTSTD + +config BOOTMETH_DISTRO + bool "Bootdev support for distro boot" + depends on CMD_PXE + default y + help + Enables support for distro boot using bootdevs. This makes the + bootdevs look for a 'extlinux/extlinux.conf' on each filesystem + they scan. + + This provides a way to try out standard boot on an existing boot flow. + +endif + config LEGACY_IMAGE_FORMAT bool "Enable support for the legacy image format" default y if !FIT_SIGNATURE |