cmd: Kconfig: migrate CONFIG_SYS_PROMPT_HUSH_PS2

Move CONFIG_SYS_PROMPT_HUSH_PS2 in Kconfig, depending
on CONFIG_HUSH_PARSER, and remove the default value defined
in cli_hush.c under __U_BOOT__.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Patrick Delaunay
2020-10-26 09:31:42 +01:00
committed by Tom Rini
parent 310f285e78
commit 48aee0afb6
4 changed files with 9 additions and 11 deletions

View File

@@ -55,6 +55,15 @@ config SYS_PROMPT
This string is displayed in the command line to the left of the
cursor.
config SYS_PROMPT_HUSH_PS2
string "Hush shell secondary prompt"
depends on HUSH_PARSER
default "> "
help
This defines the secondary prompt string, which is
printed when the command interpreter needs more input
to complete a command. Usually "> ".
config SYS_XTRACE
string "Command execution tracer"
depends on CMDLINE