summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-02-23 02:43:03 +0000
committerStefano Babic <sbabic@denx.de>2013-03-07 17:22:57 +0100
commitf94669f30656cd05bbc75f6c799a1b06c493f3d2 (patch)
tree9d95060d43d123138c808cff89a321bdfe201997
parentafa872109942b37fce291b592d6f2f02f55a4021 (diff)
downloadu-boot-imx-f94669f30656cd05bbc75f6c799a1b06c493f3d2.zip
u-boot-imx-f94669f30656cd05bbc75f6c799a1b06c493f3d2.tar.gz
u-boot-imx-f94669f30656cd05bbc75f6c799a1b06c493f3d2.tar.bz2
mxs: m28: Enable power to USB port 0
The USB port 0 can now be used alongside the USB port 1, thus enable power to it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Stefano Babic <sbabic@denx.de>
-rw-r--r--board/denx/m28evk/m28evk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/denx/m28evk/m28evk.c b/board/denx/m28evk/m28evk.c
index d93efaf..aff7c1f 100644
--- a/board/denx/m28evk/m28evk.c
+++ b/board/denx/m28evk/m28evk.c
@@ -57,6 +57,10 @@ int board_early_init_f(void)
mxs_iomux_setup_pad(MX28_PAD_AUART3_TX__GPIO_3_13 |
MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_PULLUP);
gpio_direction_output(MX28_PAD_AUART3_TX__GPIO_3_13, 0);
+
+ mxs_iomux_setup_pad(MX28_PAD_AUART3_RX__GPIO_3_12 |
+ MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_PULLUP);
+ gpio_direction_output(MX28_PAD_AUART3_RX__GPIO_3_12, 0);
#endif
return 0;