From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] s3c64xx: support the soft reset at s3c6410
Date: Thu, 02 Apr 2009 19:36:50 +0900 [thread overview]
Message-ID: <49D49542.1060502@samsung.com> (raw)
This patch support the soft reset at s3c6410
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
---
cpu/arm1176/cpu.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/cpu/arm1176/cpu.c b/cpu/arm1176/cpu.c
index 1e94f7d..cb13d9c 100644
--- a/cpu/arm1176/cpu.c
+++ b/cpu/arm1176/cpu.c
@@ -112,7 +112,11 @@ int cleanup_before_linux (void)
void reset_cpu (ulong ignored)
{
printf("reset... \n\n\n");
+#if defined(CONFIG_S3C6410)
+ SW_RST_REG = 0x6410;
+#else
SW_RST_REG = 0x6400;
+#endif
/* loop forever and wait for reset to happen */
while (1) {
if (serial_tstc()) {
next reply other threads:[~2009-04-02 10:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-02 10:36 Minkyu Kang [this message]
2009-04-02 10:42 ` [U-Boot] [PATCH] s3c64xx: support the soft reset at s3c6410 Jean-Christophe PLAGNIOL-VILLARD
2009-06-09 19:41 ` Jean-Christophe PLAGNIOL-VILLARD
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=49D49542.1060502@samsung.com \
--to=mk7.kang@samsung.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox