9
0
Fork 0

svn_rev_180

move prompt to menuconfig
This commit is contained in:
Sascha Hauer 2007-07-05 18:01:30 +02:00 committed by Sascha Hauer
parent 2ae2044e39
commit d8c247e00d
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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)