[PATCH] common: remove unused CONFIG_BOOTM_OFTREE

Sascha Hauer s.hauer at pengutronix.de
Fri Jun 13 03:38:17 PDT 2025


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 at 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 |



More information about the barebox mailing list