
13 Jul
2015
13 Jul
'15
5:54 p.m.
On Monday, July 13, 2015 at 05:23:15 PM, Otavio Salvador wrote:
Add USB support.
Signed-off-by: Otavio Salvador otavio@ossystems.com.br
[...]
+int board_ehci_power(int port, int on) +{
- switch (port) {
- case 0:
break;
- case 1:
if (on)
gpio_direction_output(IMX_GPIO_NR(5, 5), 1);
else
gpio_direction_output(IMX_GPIO_NR(5, 5), 0);
Plain gpio_direction_output(..., on); would work here too.
[...]
Best regards, Marek Vasut