From: Jaya Kumar <jayakumar.lkml@gmail.com>
To: linux-arm-kernel@lists.arm.linux.org.uk
Cc: linux-fbdev-devel@lists.sourceforge.net,
linux-input@vger.kernel.org,
Jaya Kumar <jayakumar.lkml@gmail.com>
Subject: [RFC 2.6.27 1/5] Fixup reset for systems using reboot=cold or other strings
Date: Tue, 4 Nov 2008 08:55:09 +0800 [thread overview]
Message-ID: <12257601213192-git-send-email-jayakumar.lkml@gmail.com> (raw)
In-Reply-To: <12257601131298-git-send-email-jayakumar.lkml@gmail.com>
This patch makes do_hw_reset the default reboot behavior when nothing
else matches. This restores reboot functionality on gumstix basix
devices where reboot=cold is the default boot argument.
Signed-off-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
---
arch/arm/mach-pxa/reset.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-pxa/reset.c b/arch/arm/mach-pxa/reset.c
index 1b2af57..00b2dc2 100644
--- a/arch/arm/mach-pxa/reset.c
+++ b/arch/arm/mach-pxa/reset.c
@@ -90,12 +90,13 @@ void arch_reset(char mode)
/* Jump into ROM at address 0 */
cpu_reset(0);
break;
- case 'h':
- do_hw_reset();
- break;
case 'g':
do_gpio_reset();
break;
+ case 'h':
+ default:
+ do_hw_reset();
+ break;
}
}
--
1.5.2.3
next prev parent reply other threads:[~2008-11-04 0:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-04 0:55 [RFC 2.6.27] AM300 kit support Jaya Kumar
2008-11-04 0:55 ` Jaya Kumar [this message]
2008-11-04 0:55 ` [RFC 2.6.27 2/5] Fix is_vbus_present to return 1 or 0 Jaya Kumar
2008-11-04 0:55 ` [RFC 2.6.27 3/5] Add support for Wacom W8001 penabled serial touchscreen Jaya Kumar
2008-11-04 0:55 ` [RFC 2.6.27 4/5] Move am200 specific gpio pins into am200epd Jaya Kumar
2008-11-04 0:55 ` [RFC 2.6.27 5/5] Add support for E-Ink Broadsheet controller and AM300 kit Jaya Kumar
2008-12-09 13:35 ` Eric Miao
2008-12-14 16:26 ` Jaya Kumar
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=12257601213192-git-send-email-jayakumar.lkml@gmail.com \
--to=jayakumar.lkml@gmail.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=linux-input@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).