summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSam Protsenko <semen.protsenko@linaro.org>2017-08-14 17:22:17 (GMT)
committerTom Rini <trini@konsulko.com>2017-08-14 21:06:06 (GMT)
commit5abc1a4523a5509ce37bc3ec818b660a48f4eafd (patch)
treea66f3c175919f8228f60e60a821e4a3fce3ede0c /common
parentaa6aaf93211b7e22361e75f1068e1e565e731f25 (diff)
downloadu-boot-5abc1a4523a5509ce37bc3ec818b660a48f4eafd.tar.xz
common: Move CONFIG_BOOTARGS to Kconfig
Also introduce CONFIG_USE_BOOTARGS option so we can control if CONFIG_BOOTARGS defined at all. Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> [trini: Resync r8a779[56]_ulcb, various ls10xx targets] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 0983891..3ef1ab0 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -628,6 +628,22 @@ config BOOTDELAY
See doc/README.autoboot for details.
+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
+ 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.
+
menu "Console"
config MENU