boot: Move OS options into /boot

These options belong in boot/Kconfig since they are not related to
commands. Move them and adjust them to depend on CONFIG_BOOT

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-05-31 11:39:12 +01:00
parent de032ef9c6
commit 12a4b1e912
2 changed files with 47 additions and 49 deletions

View File

@@ -393,6 +393,53 @@ config BOOT
is used by commands like bootm, bootz, and booti to effect a boot.
If CMDLINE is disabled, booting is still possible via standard boot.
if BOOT
config BOOTM_LINUX
bool "Support booting Linux OS images"
depends on BOOT
default y
help
Support booting the Linux kernel directly via a command such as bootm
or booti or bootz.
config BOOTM_NETBSD
bool "Support booting NetBSD (non-EFI) loader images"
default y
help
Support booting NetBSD via the bootm command.
config BOOTM_OPENRTOS
bool "Support booting OPENRTOS / FreeRTOS images"
help
Support booting OPENRTOS / FreeRTOS via the bootm command.
config BOOTM_OSE
bool "Support booting Enea OSE images"
depends on ARM && (ARM64 || CPU_V7A || CPU_V7R) || SANDBOX || PPC || X86
help
Support booting Enea OSE images via the bootm command.
config BOOTM_PLAN9
bool "Support booting Plan9 OS images"
default y
help
Support booting Plan9 images via the bootm command.
config BOOTM_RTEMS
bool "Support booting RTEMS OS images"
default y
help
Support booting RTEMS images via the bootm command.
config BOOTM_VXWORKS
bool "Support booting VxWorks OS images"
default y
help
Support booting VxWorks images via the bootm command.
endif # BOOT
config PXE_UTILS
bool
select MENU