From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Wed, 16 Dec 2015 13:39:25 +0800 Subject: [U-Boot] [PATCH V2 2/2] nios2: Soup up the shell experience In-Reply-To: <1450225968-13369-2-git-send-email-marex@denx.de> References: <1450225968-13369-1-git-send-email-marex@denx.de> <1450225968-13369-2-git-send-email-marex@denx.de> Message-ID: <5670F90D.5090007@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?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 > Cc: Thomas Chou > --- > 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