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 <[email protected]>
Cc: Thomas Chou <[email protected]>
---
  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
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to