summaryrefslogtreecommitdiff
path: root/common/Kconfig.boot
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-11 05:21:18 +0300
committerTom Rini <trini@konsulko.com>2020-10-09 19:01:54 +0300
commitfe5db255f455fcaed48c919de53f77d0ebba0acb (patch)
tree07e93fbe732ce772392d695b70a3412a3f70d5bf /common/Kconfig.boot
parent95fd4f3330a3845ebb09a7a3e2eb66a9f093b2df (diff)
downloadu-boot-fe5db255f455fcaed48c919de53f77d0ebba0acb.tar.xz
Kconfig: Move misc boot options under 'boot options'
There are a number of miscellaneous boot images at the top level of the kconfig menu. Move these into the 'boot options' menu. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Kconfig.boot')
-rw-r--r--common/Kconfig.boot53
1 files changed, 53 insertions, 0 deletions
diff --git a/common/Kconfig.boot b/common/Kconfig.boot
index 058e62a6ca..6f66b89913 100644
--- a/common/Kconfig.boot
+++ b/common/Kconfig.boot
@@ -824,4 +824,57 @@ config AUTOBOOT_MENU_SHOW
endmenu
+config USE_BOOTARGS
+ bool "Enable boot arguments"
+ help
+ Provide boot arguments to bootm command. Boot arguments are specified
+ in CONFIG_BOOTARGS option. Enable this option to be able to specify
+ CONFIG_BOOTARGS string. If this option is disabled, CONFIG_BOOTARGS
+ will be undefined and won't take any space in U-Boot image.
+
+config BOOTARGS
+ string "Boot arguments"
+ depends on USE_BOOTARGS && !USE_DEFAULT_ENV_FILE
+ help
+ This can be used to pass arguments to the bootm command. The value of
+ CONFIG_BOOTARGS goes into the environment value "bootargs". Note that
+ this value will also override the "chosen" node in FDT blob.
+
+config USE_BOOTCOMMAND
+ bool "Enable a default value for bootcmd"
+ help
+ Provide a default value for the bootcmd entry in the environment. If
+ autoboot is enabled this is what will be run automatically. Enable
+ this option to be able to specify CONFIG_BOOTCOMMAND as a string. If
+ this option is disabled, CONFIG_BOOTCOMMAND will be undefined and
+ won't take any space in U-Boot image.
+
+config BOOTCOMMAND
+ string "bootcmd value"
+ depends on USE_BOOTCOMMAND && !USE_DEFAULT_ENV_FILE
+ default "run distro_bootcmd" if DISTRO_DEFAULTS
+ help
+ This is the string of commands that will be used as bootcmd and if
+ AUTOBOOT is set, automatically run.
+
+config USE_PREBOOT
+ bool "Enable preboot"
+ help
+ When this option is enabled, the existence of the environment
+ variable "preboot" will be checked immediately before starting the
+ CONFIG_BOOTDELAY countdown and/or running the auto-boot command resp.
+ entering interactive mode.
+
+ This feature is especially useful when "preboot" is automatically
+ generated or modified. For example, the boot code can modify the
+ "preboot" when a user holds down a certain combination of keys.
+
+config PREBOOT
+ string "preboot default value"
+ depends on USE_PREBOOT && !USE_DEFAULT_ENV_FILE
+ default "usb start" if USB_KEYBOARD || USB_STORAGE
+ default ""
+ help
+ This is the default of "preboot" environment variable.
+
endmenu # Booting