diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-12-08 13:57:33 (GMT) |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-01-27 14:55:51 (GMT) |
commit | 8ce6947831ba6ba5a54de004be3a8c107af73166 (patch) | |
tree | 13d8d63e2f14a99904e64985e12868da783f690b /drivers | |
parent | 338a5f2bf1f3ec543dd9c6ce0d74ebe969bc7582 (diff) | |
download | u-boot-8ce6947831ba6ba5a54de004be3a8c107af73166.tar.xz |
net: emaclite: Remove ancient OF probe function
Prepare for DM move.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/xilinx_emaclite.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index 564205d..d3d40b1 100644 --- a/drivers/net/xilinx_emaclite.c +++ b/drivers/net/xilinx_emaclite.c @@ -360,33 +360,3 @@ int xilinx_emaclite_initialize(bd_t *bis, unsigned long base_addr, return 1; } - -#if CONFIG_IS_ENABLED(OF_CONTROL) -int xilinx_emaclite_of_init(const void *blob) -{ - int offset = 0; - u32 ret = 0; - u32 reg; - - do { - offset = fdt_node_offset_by_compatible(blob, offset, - "xlnx,xps-ethernetlite-1.00.a"); - if (offset != -1) { - reg = fdtdec_get_addr(blob, offset, "reg"); - if (reg != FDT_ADDR_T_NONE) { - u32 rxpp = fdtdec_get_int(blob, offset, - "xlnx,rx-ping-pong", 0); - u32 txpp = fdtdec_get_int(blob, offset, - "xlnx,tx-ping-pong", 0); - ret |= xilinx_emaclite_initialize(NULL, reg, - txpp, rxpp); - } else { - debug("EMACLITE: Can't get base address\n"); - return -1; - } - } - } while (offset != -1); - - return ret; -} -#endif |