diff options
| author | Simon Glass <[email protected]> | 2023-12-14 21:19:00 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-04-10 17:04:25 -0600 |
| commit | 6e558e34e0d8b8a0fc5704e2372643f8fcab0091 (patch) | |
| tree | de37f542302805f6a2da27bf8e3a3bce54352945 /boot | |
| parent | 52b3c47d7cc993125d22315115d514ca6e3d77d8 (diff) | |
bootm: Add a Kconfig option for bootm functionality
Create a separate Kconfig option which enables the bootm logic,
separate from the 'bootm' command. This will eventually allow booting
without CMDLINE enabled.
Update boards which disable CMD_BOOTM to disable BOOTM instead, since
CMD_BOOTM now depends on BOOTM
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/Kconfig | 12 | ||||
| -rw-r--r-- | boot/Makefile | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index e0098b3f31d..8b32a51f7e7 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -677,6 +677,18 @@ config BOOTMETH_SCRIPT endif # BOOTSTD +config BOOTM + bool "Support booting an application image from memory" + default y + help + This is the main boot implementation in U-Boot, supporting a wide + variety of features including FIT and legacy-image boot, kernel and + FDT selection, setting up of the command line for the OS and many + other features. + + This option should normally be enabled. It is used to implement the + 'bootm' command. + config ANDROID_BOOT_IMAGE bool "Android Boot Images" default y if FASTBOOT diff --git a/boot/Makefile b/boot/Makefile index de0eafed14b..a4ea2f9e062 100644 --- a/boot/Makefile +++ b/boot/Makefile @@ -6,7 +6,7 @@ ifndef CONFIG_SPL_BUILD obj-$(CONFIG_BOOT_RETRY) += bootretry.o -obj-$(CONFIG_CMD_BOOTM) += bootm.o bootm_os.o +obj-$(CONFIG_BOOTM) += bootm.o bootm_os.o obj-$(CONFIG_CMD_BOOTZ) += bootm.o bootm_os.o obj-$(CONFIG_CMD_BOOTI) += bootm.o bootm_os.o |
