diff options
author | Simon Glass <sjg@chromium.org> | 2016-03-13 19:07:28 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-22 12:16:08 -0400 |
commit | 302a64875080d24932f1e4a8e2221e600b86629f (patch) | |
tree | 42431cc0a119478029ab191d9131fa9ed7031d29 /cmd/Kconfig | |
parent | 633fb736ce0c7a50cacbf827d1506462d56a9354 (diff) | |
download | u-boot-imx-302a64875080d24932f1e4a8e2221e600b86629f.zip u-boot-imx-302a64875080d24932f1e4a8e2221e600b86629f.tar.gz u-boot-imx-302a64875080d24932f1e4a8e2221e600b86629f.tar.bz2 |
Add an option to enable the command line
Add a new Kconfig option for the command line. This is enabled by default,
but when disabled it will remove the command line.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 7cdff04..cdcaff8 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1,8 +1,20 @@ menu "Command line interface" +config CMDLINE + bool "Support U-Boot commands" + default y + help + Enable U-Boot's command-line functions. This provides a means + to enter commands into U-Boot for a wide variety of purposes. It + also allows scripts (containing commands) to be executed. + Various commands and command categorys can be indivdually enabled. + Depending on the number of commands enabled, this can add + substantially to the size of U-Boot. + config HUSH_PARSER bool "Use hush shell" select SYS_HUSH_PARSER + depends on CMDLINE help This option enables the "hush" shell (from Busybox) as command line interpreter, thus enabling powerful command line syntax like |