All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Dyer <adyer@righthandtech.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] add reboot as a synonym for reset
Date: Mon, 08 Sep 2008 13:11:54 -0500	[thread overview]
Message-ID: <48C56AEA.8040706@righthandtech.com> (raw)

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

             reply	other threads:[~2008-09-08 18:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-08 18:11 Andrew Dyer [this message]
2008-09-08 18:43 ` [U-Boot] [PATCH] add reboot as a synonym for reset Wolfgang Denk
2008-09-08 19:33   ` Andrew Dyer
2008-09-08 20:58     ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48C56AEA.8040706@righthandtech.com \
    --to=adyer@righthandtech.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.