From: Marek Vasut Date: Wed, 16 Dec 2015 01:32:48 +0100 Subject: [U-Boot] [PATCH V2 2/2] nios2: Soup up the shell experience In-Reply-To: <1450225968-13369-1-git-send-email-marex@denx.de> References: <1450225968-13369-1-git-send-email-marex@denx.de> Message-ID: <1450225968-13369-2-git-send-email-marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 */ -- 2.1.4