diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2016-06-27 10:17:51 (GMT) |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2016-07-06 15:45:00 (GMT) |
commit | 66d027e22c55534135a43da794d31fcc98509913 (patch) | |
tree | e7b351d550528beb390f5176dadad516e6569ac1 /drivers/net/pch_gbe.c | |
parent | 2307ea4053cdf45174f842312d07f538bf5be5f6 (diff) | |
download | u-boot-fsl-qoriq-66d027e22c55534135a43da794d31fcc98509913.tar.xz |
net: designware: Make driver independent from DM_GPIO again
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@synopsys.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Beniamino Galvani <b.galvani@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Cc: Sonic Zhang <sonic.zhang@analog.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/pch_gbe.c')
0 files changed, 0 insertions, 0 deletions