[U-Boot] [PATCH 13/16] cgtqmx6eval: Add USB support
Marek Vasut
marex at denx.de
Mon Jul 13 17:54:39 CEST 2015
On Monday, July 13, 2015 at 05:23:15 PM, Otavio Salvador wrote:
> Add USB support.
>
> Signed-off-by: Otavio Salvador <otavio at 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
More information about the U-Boot
mailing list