projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d0fb3d
)
qong: Use mx31_set_gpr to setup USBH2 pins
author
Fabio Estevam
<festevam@gmail.com>
Thu, 20 Oct 2011 16:01:30 +0000
(16:01 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Thu, 3 Nov 2011 21:56:18 +0000
(22:56 +0100)
Instead of writing directly to the GPR register, use mx31_set_gpr to setup USBH2 pins.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/davedenx/qong/qong.c
patch
|
blob
|
history
diff --git
a/board/davedenx/qong/qong.c
b/board/davedenx/qong/qong.c
index
5b2830c
..
3f6e0c2
100644
(file)
--- a/
board/davedenx/qong/qong.c
+++ b/
board/davedenx/qong/qong.c
@@
-143,7
+143,7
@@
int board_early_init_f(void)
mx31_set_pad(MX31_PIN_SRXD3, H2_PAD_CFG); /* USBH2_DATA6 */
mx31_set_pad(MX31_PIN_STXD3, H2_PAD_CFG); /* USBH2_DATA7 */
-
writel(readl((IOMUXC_BASE + 0x8)) | (1 << 11), IOMUXC_BASE + 0x8
);
+
mx31_set_gpr(MUX_PGP_UH2, 1
);
return 0;