Skip to contentSkip to conversation

bootstd: Make BOOTSTD_FULL depend on BOOTSTD

PATCH In review Simon Glass 3 participants 3 messages Feb 22, 2023 – Jun 14, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bootstd: Make BOOTSTD_FULL depend on BOOTSTD

Move BOOTSTD_FULL down in the file so that it can be enabled only when BOOTSTD is enabled. This prevents a build error if BOOTSTD is disabled but BOOTSTD_FULL is enabled.

---

 boot/Kconfig | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)
boot/Kconfig +13 -13
index 5f491625c82..47952bbba23 100644
@@ -371,19 +371,6 @@ config BOOTSTD
 	        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 SPL_BOOTSTD
 	bool "Standard boot support in VPL"
 	depends on SPL && SPL_DM && SPL_OF_CONTROL && SPL_BLK
@@ -406,6 +393,19 @@ config VPL_BOOTSTD
 
 if BOOTSTD
 
+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 BOOTSTD_DEFAULTS
 	bool "Select some common defaults for standard boot"
 	depends on BOOTSTD
Signature · 1 line
2.39.2.637.g21b0678d19-goog
Reviewed-by on v1 1/1
#1 lore raw
Quoted 56 lines · Simon Glass

Move BOOTSTD_FULL down in the file so that it can be enabled only when BOOTSTD is enabled. This prevents a build error if BOOTSTD is disabled but BOOTSTD_FULL is enabled.

---

 boot/Kconfig | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)
boot/Kconfig +13 -14
index 5f491625c82..47952bbba23 100644
@@ -371,19 +371,6 @@ config BOOTSTD
                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 SPL_BOOTSTD
        bool "Standard boot support in VPL"
        depends on SPL && SPL_DM && SPL_OF_CONTROL && SPL_BLK
@@ -406,6 +393,19 @@ config VPL_BOOTSTD
 
 if BOOTSTD
 
+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 BOOTSTD_DEFAULTS
        bool "Select some common defaults for standard boot"
        depends on BOOTSTD
--
Quoted 2 lines

2.39.2.637.g21b0678d19-goog