[U-Boot] [PATCH V2 2/2] nios2: Soup up the shell experience

Thomas Chou thomas at wytron.com.tw
Wed Dec 16 06:39:25 CET 2015


Hi Marek,

On 2015年12月16日 08:32, Marek Vasut wrote:
> Enable command auto completion and enable $version variable. This makes
> working with U-Boot far more enjoyable.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Thomas Chou <thomas at wytron.com.tw>
> ---
>   include/configs/10m50_devboard.h | 2 ++
>   include/configs/3c120_devboard.h | 2 ++
>   2 files changed, 4 insertions(+)
>
> V2: Drop the default prompt setting
>
> diff --git a/include/configs/10m50_devboard.h b/include/configs/10m50_devboard.h
> index 608127f..8dfe2a8 100644
> --- a/include/configs/10m50_devboard.h
> +++ b/include/configs/10m50_devboard.h
> @@ -99,6 +99,8 @@
>   					 CONFIG_ENV_SIZE - \
>   					 CONFIG_SYS_MALLOC_LEN -	\
>   					 0x10000)
> +#define CONFIG_VERSION_VARIABLE
> +#define CONFIG_AUTO_COMPLETE
>   #define CONFIG_CMDLINE_EDITING
>
>   #endif /* __CONFIG_H */
> diff --git a/include/configs/3c120_devboard.h b/include/configs/3c120_devboard.h
> index 6c9dc3f..2e94b69 100644
> --- a/include/configs/3c120_devboard.h
> +++ b/include/configs/3c120_devboard.h
> @@ -102,6 +102,8 @@
>   					 CONFIG_ENV_SIZE - \
>   					 CONFIG_SYS_MALLOC_LEN -	\
>   					 0x10000)
> +#define CONFIG_VERSION_VARIABLE
> +#define CONFIG_AUTO_COMPLETE
>   #define CONFIG_CMDLINE_EDITING
>
>   #endif /* __CONFIG_H */
>

Applied to u-boot-nios. Thanks.

Best regards,
Thomas


More information about the U-Boot mailing list