summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-11-30 14:14:56 +0100
committerMichal Simek <michal.simek@xilinx.com>2015-12-07 10:14:22 +0100
commit6889ca7198f68691ddd7923268040eb7f4e6d3ff (patch)
treee73bf853e2df4126878d56c654027b1737c1402e /include
parent5a9284f7f503f21c0f231b96d62747662080050d (diff)
downloadu-boot-imx-6889ca7198f68691ddd7923268040eb7f4e6d3ff.zip
u-boot-imx-6889ca7198f68691ddd7923268040eb7f4e6d3ff.tar.gz
u-boot-imx-6889ca7198f68691ddd7923268040eb7f4e6d3ff.tar.bz2
net: gem: Move driver to DM
- Enable DM_ETH by default for Zynq and ZynqMP - Remove board_eth_init code - Change miiphy_read function to return value instead of error code based on DM requirement - Do not enable EMIO DT support by default Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Jagan Teki <jteki@openedev.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/zynq-common.h6
-rw-r--r--include/netdev.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 5db5011..faff0e9 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -56,12 +56,6 @@
# define CONFIG_BOOTP_GATEWAY
# define CONFIG_BOOTP_HOSTNAME
# define CONFIG_BOOTP_MAY_FAIL
-# if !defined(CONFIG_ZYNQ_GEM_EMIO0)
-# define CONFIG_ZYNQ_GEM_EMIO0 0
-# endif
-# if !defined(CONFIG_ZYNQ_GEM_EMIO1)
-# define CONFIG_ZYNQ_GEM_EMIO1 0
-# endif
#endif
/* SPI */
diff --git a/include/netdev.h b/include/netdev.h
index 5c6ae5b..de74b9a 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -87,8 +87,6 @@ int xilinx_emaclite_initialize(bd_t *bis, unsigned long base_addr,
int txpp, int rxpp);
int xilinx_ll_temac_eth_init(bd_t *bis, unsigned long base_addr, int flags,
unsigned long ctrl_addr);
-int zynq_gem_initialize(bd_t *bis, phys_addr_t base_addr,
- int phy_addr, u32 emio);
/*
* As long as the Xilinx xps_ll_temac ethernet driver has not its own interface
* exported by a public hader file, we need a global definition at this point.