summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-02-24 11:16:28 +0100
committerTom Rini <trini@ti.com>2014-03-04 09:27:32 -0500
commit0c9c99a20b8b900fc8e284f89a08ff6f46de6a3b (patch)
tree1dfed837f0aa454ef0f89c1743fe95d572ec645a /include
parenteeb72e67619b98d2502fe634a3a5d9953de92ad0 (diff)
downloadu-boot-imx-0c9c99a20b8b900fc8e284f89a08ff6f46de6a3b.zip
u-boot-imx-0c9c99a20b8b900fc8e284f89a08ff6f46de6a3b.tar.gz
u-boot-imx-0c9c99a20b8b900fc8e284f89a08ff6f46de6a3b.tar.bz2
net: emaclite: Fix OF initialization
- Add xilinx_emaclite_of_init to netdev.h - Remove global data pointer from the driver - Add better handling for error state. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r--include/netdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netdev.h b/include/netdev.h
index 3705629..c684014 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -86,6 +86,7 @@ int uli526x_initialize(bd_t *bis);
int armada100_fec_register(unsigned long base_addr);
int xilinx_axiemac_initialize(bd_t *bis, unsigned long base_addr,
unsigned long dma_addr);
+int xilinx_emaclite_of_init(const void *blob);
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,