diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:30 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:30 +0200 |
commit | d8c247e00dfeec16ea90125fdaa62d38339271aa (patch) | |
tree | 0eb2a50d360d63a9c1a72840ff6648d81874f5a8 /common | |
parent | 2ae2044e399399a3ed13eaa6b1ee6086c686ac34 (diff) | |
download | barebox-d8c247e00dfeec16ea90125fdaa62d38339271aa.tar.gz barebox-d8c247e00dfeec16ea90125fdaa62d38339271aa.tar.xz |
svn_rev_180
move prompt to menuconfig
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 9 | ||||
-rw-r--r-- | common/main.c | 2 |
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) |