[U-Boot] [PATCH 12/12] kconfig: add config option for shell prompt

Tom Rini
2015-07-23T21:21:45Z

On Thu, Jul 23, 2015 at 05:19:39PM +0300, Nikita Kiryanov wrote:

> Add option to set shell prompt string from menuconfig and use it
> when migrating CONFIG_SYS_PROMPT to cm-fx6 defconfig.
>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Igor Grinberg <grinberg@compulab.co.il>
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>

Conceptually, I like.

> ---
> common/Kconfig | 7 +++++++
> configs/cm_fx6_defconfig | 1 +
> include/configs/cm_fx6.h | 1 -
> 3 files changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/common/Kconfig b/common/Kconfig
> index 40cd69e..6b24fd9 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -17,6 +17,13 @@ config SYS_HUSH_PARSER
> help
> Backward compatibility.
>
> +config SYS_PROMPT
> + string "Shell prompt"
> + default "# "

How about "U-Boot> " which while not what I had been forcing everyone in
TI-land to use, is the most common.

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150723/453c8df0/attachment.sig>