[U-Boot] [PATCH v3] tx25: Use generic gpio_* calls

Fabio Estevam festevam at gmail.com
Fri Jun 15 20:35:42 CEST 2012


On Fri, Jun 15, 2012 at 3:26 PM, Vikram Narayanan <vikram186 at gmail.com> wrote:

>        /* turn on PHY power leaving reset asserted */
> -       val = readl(&gpio4->gpio_dr) | 1 << 9;
> -       writel(val, &gpio4->gpio_dr);
> +       gpio_direction_output(GPIO_FEC_ENABLE_B, 1);

Please use gpio_set_value instead.


More information about the U-Boot mailing list