diff options
author | Fabio Estevam <festevam@gmail.com> | 2011-10-20 16:01:30 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-11-03 22:56:18 +0100 |
commit | 842d853adad65d469de47c7826866dfade4c38c4 (patch) | |
tree | ca5485d5b06ab4d6fd17a8dbbf7f57bfa618d8b5 /board/davedenx/qong | |
parent | 6d0fb3dbcc4b1ce8437b1e9458ad406636321ef6 (diff) |
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>
Diffstat (limited to 'board/davedenx/qong')
-rw-r--r-- | 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 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; |