summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/Kconfig9
-rw-r--r--common/main.c2
2 files changed, 10 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index ce3e59abe3..39c6dd5580 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -5,6 +5,15 @@ config ZLIB
config BZLIB
bool
+menu "general settings"
+
+config PROMPT
+ string
+ prompt "U-Boot command prompt"
+ default "uboot> "
+
+endmenu
+
menu "Commands"
config CMD_ECHO
diff --git a/common/main.c b/common/main.c
index c569d1df73..3b0e073716 100644
--- a/common/main.c
+++ b/common/main.c
@@ -419,7 +419,7 @@ void main_loop (void)
reset_cmd_timeout();
}
#endif
- len = readline (CFG_PROMPT);
+ len = readline (CONFIG_PROMPT);
flag = 0; /* assume no special flags for now */
if (len > 0)