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

Marek Vasut
2015-12-15T23:18:45Z

On Tuesday, December 15, 2015 at 06:33:57 AM, Thomas Chou wrote:
> Hi Marek,
>
> On 2015?12?15? 10:09, 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@denx.de>
> > Cc: Thomas Chou <thomas@wytron.com.tw>
> > ---
> >
> > include/configs/10m50_devboard.h | 3 +++
> > include/configs/3c120_devboard.h | 3 +++
> > 2 files changed, 6 insertions(+)
> >
> > diff --git a/include/configs/10m50_devboard.h
> > b/include/configs/10m50_devboard.h index 0aa79f7..72d455f0 100644
> > --- a/include/configs/10m50_devboard.h
> > +++ b/include/configs/10m50_devboard.h
> > @@ -101,6 +101,9 @@
> >
> > CONFIG_ENV_SIZE - \
> > CONFIG_SYS_MALLOC_LEN - \
> > 0x10000)
> >
> > +#define CONFIG_VERSION_VARIABLE
> > +#define CONFIG_AUTO_COMPLETE
> >
> > #define CONFIG_CMDLINE_EDITING
> >
> > +#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
>
> This is the default value in common/cli_hush.c.
>
> > #endif /* __CONFIG_H */
> >
> > diff --git a/include/configs/3c120_devboard.h
> > b/include/configs/3c120_devboard.h index 0054d8b..ed30d6f 100644
> > --- a/include/configs/3c120_devboard.h
> > +++ b/include/configs/3c120_devboard.h
> > @@ -104,6 +104,9 @@
> >
> > CONFIG_ENV_SIZE - \
> > CONFIG_SYS_MALLOC_LEN - \
> > 0x10000)
> >
> > +#define CONFIG_VERSION_VARIABLE
> > +#define CONFIG_AUTO_COMPLETE
> >
> > #define CONFIG_CMDLINE_EDITING
> >
> > +#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
>
> Ditto.

Two patches are about to head your way.

Best regards,
Marek Vasut