public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/4] qong: Use generic function for configuring GPR register
Date: Thu, 10 Nov 2011 14:19:28 +0100	[thread overview]
Message-ID: <4EBBCF60.20508@denx.de> (raw)
In-Reply-To: <1320848103-19495-1-git-send-email-fabio.estevam@freescale.com>

On 11/09/2011 03:15 PM, Fabio Estevam wrote:
> Use generic function for configuring GPR register.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  board/davedenx/qong/qong.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/board/davedenx/qong/qong.c b/board/davedenx/qong/qong.c
> index 665aedf..c41f11d 100644
> --- a/board/davedenx/qong/qong.c
> +++ b/board/davedenx/qong/qong.c
> @@ -231,7 +231,7 @@ static void board_nand_setup(void)
>  
>  	mxc_setup_weimcs(3, &cs3);
>  
> -	__REG(IOMUXC_GPR) |= 1 << 13;
> +	mx31_set_gpr(MUX_SDCTL_CSD1_SEL, 1);
>  
>  	mx31_gpio_mux(IOMUX_MODE(MUX_CTL_NFC_WP, MUX_CTL_IN_GPIO));
>  	mx31_gpio_mux(IOMUX_MODE(MUX_CTL_NFC_CE, MUX_CTL_IN_GPIO));

Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic
-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

      parent reply	other threads:[~2011-11-10 13:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 14:15 [U-Boot] [PATCH 1/4] qong: Use generic function for configuring GPR register Fabio Estevam
2011-11-09 14:15 ` [U-Boot] [PATCH 2/4] mx31: Remove duplicate definition for " Fabio Estevam
2011-11-10 13:20   ` Stefano Babic
2011-11-09 14:15 ` [U-Boot] [PATCH 3/4] mx31: Use proper IO accessor " Fabio Estevam
2011-11-10 13:20   ` Stefano Babic
2011-11-09 14:15 ` [U-Boot] [PATCH 4/4] mx31: Fix checkpatch warnings in generic.c Fabio Estevam
2011-11-10 13:21   ` Stefano Babic
2011-11-10 13:19 ` Stefano Babic [this message]

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=4EBBCF60.20508@denx.de \
    --to=sbabic@denx.de \
    --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