qong: Use mx31_set_gpr to setup USBH2 pins

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>
This commit is contained in:
Fabio Estevam 2011-10-20 16:01:30 +00:00 committed by Albert ARIBAUD
parent 6d0fb3dbcc
commit 842d853ada

View file

@ -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;