diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-03-02 05:17:29 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-03-07 16:22:58 (GMT) |
commit | ebe1d17006001adfa375335acdd56f326264aeb8 (patch) | |
tree | 92ae78347ead6e1de90d60d690a1b4175ec4f18b /board/olimex/mx23_olinuxino/mx23_olinuxino.c | |
parent | e895aa45b93a2d27e6720c40f869c01854d3ca09 (diff) | |
download | u-boot-fsl-qoriq-ebe1d17006001adfa375335acdd56f326264aeb8.tar.xz |
mx23_olinuxino: Enable USB support
This enabled USB support for the mx23_olinuxino board.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'board/olimex/mx23_olinuxino/mx23_olinuxino.c')
-rw-r--r-- | board/olimex/mx23_olinuxino/mx23_olinuxino.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/olimex/mx23_olinuxino/mx23_olinuxino.c b/board/olimex/mx23_olinuxino/mx23_olinuxino.c index 2501417..9252717 100644 --- a/board/olimex/mx23_olinuxino/mx23_olinuxino.c +++ b/board/olimex/mx23_olinuxino/mx23_olinuxino.c @@ -45,6 +45,11 @@ int board_early_init_f(void) /* SSP0 clock at 96MHz */ mxs_set_sspclk(MXC_SSPCLK0, 96000, 0); +#ifdef CONFIG_CMD_USB + /* Enable LAN9512 */ + gpio_direction_output(MX23_PAD_GPMI_ALE__GPIO_0_17, 1); +#endif + return 0; } |