[PATCH v3 26/81] bootstd: Add Kconfig options for SPL
Simon Glass
sjg at chromium.org
Mon Feb 6 20:04:54 CET 2023
Create new SPL options so that standard boot can be excluded for SPL.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
boot/Kconfig | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/boot/Kconfig b/boot/Kconfig
index e89664e1233..2d85a27e6e5 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -354,6 +354,11 @@ config PXE_UTILS
help
Utilities for parsing PXE file formats.
+config SPL_PXE_UTILS
+ bool
+ help
+ Utilities for parsing PXE file formats (SPL)
+
config BOOTSTD
bool "Standard boot support"
default y
@@ -445,6 +450,9 @@ config BOOTMETH_DISTRO
This provides a way to try out standard boot on an existing boot flow.
+config SPL_BOOTMETH_DISTRO
+ def_bool n # Bootdev support for distro boot (SPL)
+
config BOOTMETH_DISTRO_PXE
bool "Bootdev support for distro boot over network"
depends on CMD_PXE && CMD_NET && DM_ETH
@@ -455,6 +463,9 @@ config BOOTMETH_DISTRO_PXE
This provides a way to try out standard boot on an existing boot flow.
+config SPL_BOOTMETH_DISTRO_PXE
+ def_bool n # Bootdev support for distro boot over network (SPL)
+
config BOOTMETH_EFILOADER
bool "Bootdev support for EFI boot"
depends on CMD_BOOTEFI
@@ -476,6 +487,9 @@ config BOOTMETH_EFILOADER
This provides a way to try out standard boot on an existing boot flow.
+config SPL_BOOTMETH_EFILOADER
+ def_bool n # Bootdev support for EFI boot (SPL)
+
config BOOTMETH_VBE
bool "Bootdev support for Verified Boot for Embedded"
depends on FIT
@@ -539,6 +553,9 @@ config BOOTMETH_VBE_SIMPLE_OS
for booting into the OS. This option is only enabled for U-Boot
proper, since it is the phase where device tree fixups happen.
+config SPL_BOOTMETH_VBE_SIMPLE_OS
+ def_bool n # Bootdev support for VBE 'simple' method OS phase (SPL)
+
config SPL_BOOTMETH_VBE_SIMPLE
bool "Bootdev support for VBE 'simple' method (SPL)"
depends on SPL
@@ -599,6 +616,10 @@ config BOOTMETH_SANDBOX
This is a sandbox bootmeth driver used for testing. It always returns
-ENOTSUPP when attempting to boot.
+config SPL_BOOTMETH_SANDBOX
+ def_bool n
+ depends on SANDBOX
+
config BOOTMETH_SCRIPT
bool "Bootdev support for U-Boot scripts"
default y if BOOTSTD_FULL
@@ -610,6 +631,9 @@ config BOOTMETH_SCRIPT
This provides a way to try out standard boot on an existing boot flow.
It is not enabled by default to save space.
+config SPL_BOOTMETH_SCRIPT
+ def_bool n # Bootdev support for U-Boot scripts (SPL)
+
endif
config LEGACY_IMAGE_FORMAT
--
2.39.1.519.gcb327c4b5f-goog
More information about the U-Boot
mailing list