diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2016-06-27 13:17:51 +0300 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2016-07-06 10:45:00 -0500 |
commit | 66d027e22c55534135a43da794d31fcc98509913 (patch) | |
tree | e7b351d550528beb390f5176dadad516e6569ac1 /dts | |
parent | 2307ea4053cdf45174f842312d07f538bf5be5f6 (diff) | |
download | u-boot-66d027e22c55534135a43da794d31fcc98509913.zip u-boot-66d027e22c55534135a43da794d31fcc98509913.tar.gz u-boot-66d027e22c55534135a43da794d31fcc98509913.tar.bz2 |
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 'dts')
0 files changed, 0 insertions, 0 deletions