diff options
| author | Simon Glass <[email protected]> | 2022-04-24 23:31:06 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-25 10:00:04 -0400 |
| commit | ef5e3891f57e6fc863fabbc94b1d7da79d1940bb (patch) | |
| tree | 194029c9a4a83a48de03dc12c8e2fcc9285816ac /boot/Kconfig | |
| parent | 9d260253e869bf518e35a97f8a394719bd5149fb (diff) | |
bootstd: Add the bootstd uclass and core implementation
The 'bootstd' device provides the central information about U-Boot
standard boot.
Add a uclass for bootstd and the various helpers needed to make it
work. Also add a binding file.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'boot/Kconfig')
| -rw-r--r-- | boot/Kconfig | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index ec5b956490d..9faa55a5418 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -292,6 +292,40 @@ endif # SPL endif # FIT +config BOOTSTD + bool "Standard boot support" + default y + depends on DM && OF_CONTROL && BLK + help + U-Boot supports a standard way of locating something to boot, + typically an Operating System such as Linux, provided by a distro such + as Arch Linux or Debian. Enable this to support iterating through + available bootdevs and using bootmeths to find bootflows suitable for + booting. + + Standard boot is not a standard way of booting, just a framework + within U-Boot for supporting all the different ways that exist. + + Terminology: + + - bootdev - a device which can hold a distro (e.g. MMC) + - bootmeth - a method to scan a bootdev to find bootflows (owned by + U-Boot) + - bootflow - a description of how to boot (owned by the distro) + +config BOOTSTD_FULL + bool "Enhanced features for standard boot" + default y if SANDBOX + help + This enables various useful features for standard boot, which are not + essential for operation: + + - bootdev, bootmeth commands + - extra features in the bootflow command + - support for selecting the ordering of bootmeths ("bootmeth order") + - support for selecting the ordering of bootdevs using the devicetree + as well as the "boot_targets" environment variable + config LEGACY_IMAGE_FORMAT bool "Enable support for the legacy image format" default y if !FIT_SIGNATURE |
