All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] s3c64xx: support the soft reset at s3c6410
Date: Thu, 2 Apr 2009 12:42:27 +0200	[thread overview]
Message-ID: <20090402104227.GD889@game.jcrosoft.org> (raw)
In-Reply-To: <49D49542.1060502@samsung.com>

On 19:36 Thu 02 Apr     , Minkyu Kang wrote:
> 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
this is soc specific please move to the soc
and please use proper accessor

Best Regards,
J.

  reply	other threads:[~2009-04-02 10:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-02 10:36 [U-Boot] [PATCH] s3c64xx: support the soft reset at s3c6410 Minkyu Kang
2009-04-02 10:42 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
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=20090402104227.GD889@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.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.