[PATCH 02/10] bootm: enable CONFIG_BOOTM_OFTREE by default
Ahmad Fatoum
a.fatoum at pengutronix.de
Wed May 28 03:50:38 PDT 2025
All pltforms that have HAVE_ARCH_BOOTM_OFTREE selected, should probably
support booting kernels with a device tree enabled.
CONFIG_BOOTM_OFTREE does that, but only indirectly via selecting OFTREE.
Many architectures and boards already select OFTREE and thus can keep
CONFIG_BOOTM_OFTREE unselected undermining its function.
Make CONFIG_BOOTM_OFTREE the default now, so we could at some point in
the future actually require it for bootm -o as it was meant to.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
common/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/Kconfig b/common/Kconfig
index 86a651661c35..0a7d9aee3abe 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -632,7 +632,7 @@ config BOOTM_INITRD
-L ADDR specify initrd load address
config BOOTM_OFTREE
- bool
+ def_bool y
depends on BOOTM && HAVE_ARCH_BOOTM_OFTREE
select OFTREE
prompt "device tree (oftree) support"
--
2.39.5
More information about the barebox
mailing list