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

Alexey Brodkin Alexey.Brodkin at synopsys.com
Mon Jul 4 10:36:15 CEST 2016


Hi Joe,

On Mon, 2016-06-27 at 13:17 +0300, Alexey Brodkin 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>
> ---

Any chance for this one to be applied?
Otherwise U-Boot for axs10x boards is not compilable any longer.

Regards,
Alexey


More information about the U-Boot mailing list