diff options
author | Simon Glass <sjg@chromium.org> | 2023-05-10 16:34:47 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-05-12 12:26:48 -0400 |
commit | 8d3db0a293d064c37f41eae8107e9445cc7c1c19 (patch) | |
tree | 6eb6af328b608e5abd9087ae1fb2f1d61d621ae7 | |
parent | e74106845cd653a46dc32229c84a57309bf5b241 (diff) | |
download | u-boot-WIP/2023-05-12-bootstd-updates-and-improvements.zip u-boot-WIP/2023-05-12-bootstd-updates-and-improvements.tar.gz u-boot-WIP/2023-05-12-bootstd-updates-and-improvements.tar.bz2 |
bootstd: Create a new BOOTMETH_DISTROWIP/2023-05-12-bootstd-updates-and-improvements
We cannot be sure what bootmeth a distro will need to use. Add a new
BOOTMETH_DISTRO option which collects these together. Select this from
BOOTSTD_DEFAULTS so that it is clear what is needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | boot/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index 3f8e407..dd11636 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -437,6 +437,7 @@ config BOOTSTD_DEFAULTS depends on BOOTSTD imply USE_BOOTCOMMAND select BOOT_DEFAULTS + select BOOTMETH_DISTRO help These are not required but are commonly needed to support a good selection of booting methods. Enable this to improve the capability @@ -523,6 +524,13 @@ config BOOTMETH_VBE supports selection of various firmware components, seleciton of an OS to boot as well as updating these using fwupd. +config BOOTMETH_DISTRO + bool # Options needed to boot any distro + select BOOTMETH_SCRIPT # E.g. Armbian uses scripts + select BOOTMETH_EXTLINUX # E.g. Debian uses these + select BOOTMETH_EXTLINUX_PXE if CMD_PXE && CMD_NET && DM_ETH + select BOOTMETH_EFILOADER # E.g. Ubuntu uses this + config SPL_BOOTMETH_VBE bool "Bootdev support for Verified Boot for Embedded (SPL)" depends on SPL && FIT |