All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] add reboot as a synonym for reset
@ 2008-09-08 18:11 Andrew Dyer
  2008-09-08 18:43 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Dyer @ 2008-09-08 18:11 UTC (permalink / raw)
  To: u-boot

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@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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-08 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08 18:11 [U-Boot] [PATCH] add reboot as a synonym for reset Andrew Dyer
2008-09-08 18:43 ` Wolfgang Denk
2008-09-08 19:33   ` Andrew Dyer
2008-09-08 20:58     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.