From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Tue, 15 Dec 2015 13:33:57 +0800 Subject: [U-Boot] [PATCH 5/5] nios2: Soup up the shell experience In-Reply-To: <1450145366-7205-5-git-send-email-marex@denx.de> References: <1450145366-7205-1-git-send-email-marex@denx.de> <1450145366-7205-5-git-send-email-marex@denx.de> Message-ID: <566FA645.4060509@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Thomas Chou > --- > 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. > > #endif /* __CONFIG_H */ > Thanks, Thomas