Skip to contentSkip to conversation

bootm: Remove BOOTM_NETBSD from defaults

PATCH In review Tom Rini 1 participant 2 messages Jan 12 – Jan 28

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 bootm: Remove BOOTM_NETBSD from defaults

After talking with someone from the NetBSD project, platforms that do not boot with a device tree (and so would be using our BOOTM_NETBSD support) a very few in number. So we can remove this option from being enabled by default and save a little space in most places with platforms that need it still being able to re-enable it, if needed. Ideally, in a few years we can instead just remove the code entirely.

---
 cmd/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
cmd/Kconfig +3 -3
index b71ac554c0bf..e227ad2c532f 100644
@@ -399,11 +399,11 @@ config BOOTM_LINUX
 	  or booti or bootz.
 
 config BOOTM_NETBSD
-	bool "Support booting NetBSD (non-EFI) loader images"
+	bool "Support booting NetBSD (legacy, non-EFI) loader images"
 	depends on CMD_BOOTM
-	default y
 	help
-	  Support booting NetBSD via the bootm command.
+	  Support booting NetBSD via the bootm command. This is for NetBSD
+	  images that are neither EFI nor using a device tree.
 
 config BOOTM_OPENRTOS
 	bool "Support booting OPENRTOS / FreeRTOS images"
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 8 lines · Tom Rini

After talking with someone from the NetBSD project, platforms that do not boot with a device tree (and so would be using our BOOTM_NETBSD support) a very few in number. So we can remove this option from being enabled by default and save a little space in most places with platforms that need it still being able to re-enable it, if needed. Ideally, in a few years we can instead just remove the code entirely.

[...]

Applied to u-boot/master, thanks!

[1/1] bootm: Remove BOOTM_NETBSD from defaults

      commit: 0fcd1548596a5d9358bfeb96bc7863f6fa17e15d
Signature · 1 line
Tom