From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Dyer Date: Mon, 08 Sep 2008 13:11:54 -0500 Subject: [U-Boot] [PATCH] add reboot as a synonym for reset Message-ID: <48C56AEA.8040706@righthandtech.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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