mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] common: remove unused CONFIG_BOOTM_OFTREE
@ 2025-06-13 10:32 Sascha Hauer
  2025-06-13 10:38 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2025-06-13 10:32 UTC (permalink / raw)
  To: Barebox List; +Cc: Michael Olbrich

CONFIG_BOOTM_OFTREE is entirely unused. Remove this Kconfig option.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/kvx/Kconfig |  1 -
 common/Kconfig   | 13 +------------
 2 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/arch/kvx/Kconfig b/arch/kvx/Kconfig
index bb662e4fd8..285f140f44 100644
--- a/arch/kvx/Kconfig
+++ b/arch/kvx/Kconfig
@@ -4,7 +4,6 @@ config KVX
 	bool
 	select 64BIT
 	select BOOTM
-	select BOOTM_OFTREE
 	select BOOTM_INITRD
 	select COMMON_CLK
 	select COMMON_CLK_OF_PROVIDER
diff --git a/common/Kconfig b/common/Kconfig
index 987148847e..468a981f32 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -631,17 +631,6 @@ config BOOTM_INITRD
 	  -r INITRD  specify an initrd image
 	  -L ADDR    specify initrd load address
 
-config BOOTM_OFTREE
-	bool
-	depends on BOOTM
-	select OFTREE
-	prompt "device tree (oftree) support"
-	help
-	  Add support to pass a device tree (a.k.a Open Firmware Tree, oftree). Adds
-	  this command line option:
-
-	  -o DTS  specify device tree
-
 config BOOTM_UIMAGE
 	def_bool y
 	prompt "support the legacy uImage format"
@@ -654,7 +643,7 @@ config BOOTM_UIMAGE
 config BOOTM_OFTREE_UIMAGE
 	bool
 	prompt "support passing device tree (oftree) uImages"
-	depends on BOOTM_OFTREE && BOOTM_UIMAGE
+	depends on BOOTM_UIMAGE
 	help
 	  Support using oftree uImages. Without this only raw oftree
 	  blobs can be used.
-- 
2.39.5




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] common: remove unused CONFIG_BOOTM_OFTREE
  2025-06-13 10:32 [PATCH] common: remove unused CONFIG_BOOTM_OFTREE Sascha Hauer
@ 2025-06-13 10:38 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-06-13 10:38 UTC (permalink / raw)
  To: Barebox List; +Cc: Michael Olbrich

On Fri, Jun 13, 2025 at 12:32:15PM +0200, Sascha Hauer wrote:
> CONFIG_BOOTM_OFTREE is entirely unused. Remove this Kconfig option.
> 
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Please disregard. Just realized the purpose is to select OFTREE.

Sascha

> ---
>  arch/kvx/Kconfig |  1 -
>  common/Kconfig   | 13 +------------
>  2 files changed, 1 insertion(+), 13 deletions(-)
> 
> diff --git a/arch/kvx/Kconfig b/arch/kvx/Kconfig
> index bb662e4fd8..285f140f44 100644
> --- a/arch/kvx/Kconfig
> +++ b/arch/kvx/Kconfig
> @@ -4,7 +4,6 @@ config KVX
>  	bool
>  	select 64BIT
>  	select BOOTM
> -	select BOOTM_OFTREE
>  	select BOOTM_INITRD
>  	select COMMON_CLK
>  	select COMMON_CLK_OF_PROVIDER
> diff --git a/common/Kconfig b/common/Kconfig
> index 987148847e..468a981f32 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -631,17 +631,6 @@ config BOOTM_INITRD
>  	  -r INITRD  specify an initrd image
>  	  -L ADDR    specify initrd load address
>  
> -config BOOTM_OFTREE
> -	bool
> -	depends on BOOTM
> -	select OFTREE
> -	prompt "device tree (oftree) support"
> -	help
> -	  Add support to pass a device tree (a.k.a Open Firmware Tree, oftree). Adds
> -	  this command line option:
> -
> -	  -o DTS  specify device tree
> -
>  config BOOTM_UIMAGE
>  	def_bool y
>  	prompt "support the legacy uImage format"
> @@ -654,7 +643,7 @@ config BOOTM_UIMAGE
>  config BOOTM_OFTREE_UIMAGE
>  	bool
>  	prompt "support passing device tree (oftree) uImages"
> -	depends on BOOTM_OFTREE && BOOTM_UIMAGE
> +	depends on BOOTM_UIMAGE
>  	help
>  	  Support using oftree uImages. Without this only raw oftree
>  	  blobs can be used.
> -- 
> 2.39.5
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-13 11:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-13 10:32 [PATCH] common: remove unused CONFIG_BOOTM_OFTREE Sascha Hauer
2025-06-13 10:38 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox