mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/2 v2] at91rm9200: fix lowlovel init PIOC base
Date: Thu, 5 Jan 2012 09:33:27 +0100	[thread overview]
Message-ID: <20120105083327.GZ5446@pengutronix.de> (raw)
In-Reply-To: <1325700539-4068-1-git-send-email-plagnioj@jcrosoft.com>

On Wed, Jan 04, 2012 at 07:08:59PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>

Missed v2, used this one instead.

Sascha

> ---
>  arch/arm/mach-at91/at91rm9200_lowlevel_init.c |    6 +-
>  2 files changed, 44 insertions(+), 14 deletions(-)
> 
> diff --git a/arch/arm/mach-at91/at91rm9200_lowlevel_init.c b/arch/arm/mach-at91/at91rm9200_lowlevel_init.c
> index 8d9ae08..dc54bcf 100644
> --- a/arch/arm/mach-at91/at91rm9200_lowlevel_init.c
> +++ b/arch/arm/mach-at91/at91rm9200_lowlevel_init.c
> @@ -101,11 +101,11 @@ void __naked __bare_init board_init_lowlevel(void)
>  	 */
>  
>  	/* PIOC_ASR: Configure PIOC as peripheral (D16/D31) */
> -	at91_sys_write(AT91_PIOC + PIO_ASR, CONFIG_SYS_PIOC_ASR_VAL);
> +	__raw_writel(CONFIG_SYS_PIOC_ASR_VAL, AT91_BASE_PIOC + PIO_ASR);
>  	/* PIOC_BSR */
> -	at91_sys_write(AT91_PIOC + PIO_BSR, CONFIG_SYS_PIOC_BSR_VAL);
> +	__raw_writel(CONFIG_SYS_PIOC_BSR_VAL, AT91_BASE_PIOC + PIO_BSR);
>  	/* PIOC_PDR */
> -	at91_sys_write(AT91_PIOC + PIO_PDR, CONFIG_SYS_PIOC_PDR_VAL);
> +	__raw_writel(CONFIG_SYS_PIOC_PDR_VAL, AT91_BASE_PIOC + PIO_PDR);
>  
>  	/* EBI_CSA : CS1=SDRAM */
>  	at91_sys_write(AT91_EBI_CSA, CONFIG_SYS_EBI_CSA_VAL);
> -- 
> 1.7.7
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-01-05  8:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-04 18:07 [PATCH 1/2] " Jean-Christophe PLAGNIOL-VILLARD
2012-01-04 18:07 ` [PATCH 2/2] at91rm9200_devices: add missing sizes.h Jean-Christophe PLAGNIOL-VILLARD
2012-01-04 18:08 ` [PATCH 1/2 v2] at91rm9200: fix lowlovel init PIOC base Jean-Christophe PLAGNIOL-VILLARD
2012-01-05  8:33   ` Sascha Hauer [this message]
2012-01-05  8:30 ` [PATCH 1/2] " Sascha Hauer

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=20120105083327.GZ5446@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=plagnioj@jcrosoft.com \
    /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