diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2017-08-14 20:22:17 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-14 17:06:06 -0400 |
commit | 5abc1a4523a5509ce37bc3ec818b660a48f4eafd (patch) | |
tree | a66f3c175919f8228f60e60a821e4a3fce3ede0c /common/Kconfig | |
parent | aa6aaf93211b7e22361e75f1068e1e565e731f25 (diff) |
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/Kconfig')
-rw-r--r-- | common/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 098389185b..3ef1ab0de3 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 |