[U-Boot] [PATCH] add reboot as a synonym for reset
Andrew Dyer
adyer at righthandtech.com
Mon Sep 8 20:11:54 CEST 2008
Add 'reboot' as a synonym for 'reset' at the u-boot command line.
This saves me confusion when switching back and forth between linux
and u-boot about which command to use by making u-boot accept both.
Signed-off-by: Andrew Dyer <adyer at righthandtech.com>
---
common/cmd_boot.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/common/cmd_boot.c b/common/cmd_boot.c
index d83f5af..644bb85 100644
--- a/common/cmd_boot.c
+++ b/common/cmd_boot.c
@@ -76,3 +76,9 @@ U_BOOT_CMD(
"reset - Perform RESET of the CPU\n",
NULL
);
+
+U_BOOT_CMD(
+ reboot, 1, 0, do_reset,
+ "reboot - Perform RESET of the CPU\n",
+ NULL
+);
--
1.5.4.3
More information about the U-Boot
mailing list