
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.
#endif /* __CONFIG_H */
Thanks, Thomas