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>
This commit is contained in:
12
cmd/Kconfig
12
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
|
||||
|
||||
Reference in New Issue
Block a user