[U-Boot] [PATCH] net: designware: Make driver independent from DM_GPIO again

Joe Hershberger joe.hershberger at gmail.com
Wed Jul 6 17:16:42 CEST 2016


On Mon, Jun 27, 2016 at 5:17 AM, Alexey Brodkin
<Alexey.Brodkin at synopsys.com> wrote:
> Commit 90b7fc924adf "net: designware: support phy reset device-tree
> bindings" made DW GMAC driver dependent on DM_GPIO by unconditional
> usage of purely DM_GPIO stuff like:
>  * dm_gpio_XXX()
>  * gpio_request_by_name()
>
> But since that driver as of today might be easily used without
> DM_GPIO (that's the case for Synopsys AXS10x boards) we're
> shielding all DM_GPIO things by ifdefs.
>
> Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Beniamino Galvani <b.galvani at gmail.com>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> Cc: Sonic Zhang <sonic.zhang at analog.com>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Marek Vasut <marex at denx.de>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list