summaryrefslogtreecommitdiff
path: root/board/davedenx
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-11-09 04:15:00 +0000
committerStefano Babic <sbabic@denx.de>2011-11-11 11:36:58 +0100
commitf631172ed13c17a1be8cdc4114cb731726600327 (patch)
treefe1e32dcc4f9eb939ffa8f12512b1b816d9147de /board/davedenx
parent8f59bc1fc01b31edb8ffc9fca9125bc524943234 (diff)
qong: Use generic function for configuring GPR register
Use generic function for configuring GPR register. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/davedenx')
-rw-r--r--board/davedenx/qong/qong.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/davedenx/qong/qong.c b/board/davedenx/qong/qong.c
index 665aedf0b5f..c41f11d60c7 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));