From: Fabio Estevam Date: Thu, 20 Oct 2011 16:01:30 +0000 (+0000) Subject: qong: Use mx31_set_gpr to setup USBH2 pins X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=842d853adad65d469de47c7826866dfade4c38c4;p=u-boot.git 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 --- diff --git a/board/davedenx/qong/qong.c b/board/davedenx/qong/qong.c index 5b2830ce49..3f6e0c2824 100644 --- 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;