public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/4] qong: Use generic function for configuring GPR register
@ 2011-11-09 14:15 Fabio Estevam
  2011-11-09 14:15 ` [U-Boot] [PATCH 2/4] mx31: Remove duplicate definition for " Fabio Estevam
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Fabio Estevam @ 2011-11-09 14:15 UTC (permalink / raw)
  To: u-boot

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));
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-11-10 13:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [U-Boot] [PATCH 1/4] qong: Use generic function for configuring GPR register Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox