summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGreg Ungerer <greg.ungerer@opengear.com>2011-09-10 18:40:34 +1000
committerWolfgang Denk <wd@denx.de>2011-09-10 16:10:34 +0200
commit1e8ff7145c6be51f295d8e235472a6455aee1ac3 (patch)
tree15ec96b5a54c6b985e79310b9d2ba852c4fda137 /include
parenta00e749d5b172b69bcf84e5fee36b2d20ee67b10 (diff)
downloadu-boot-imx-1e8ff7145c6be51f295d8e235472a6455aee1ac3.zip
u-boot-imx-1e8ff7145c6be51f295d8e235472a6455aee1ac3.tar.gz
u-boot-imx-1e8ff7145c6be51f295d8e235472a6455aee1ac3.tar.bz2
KS8695: convert KS8695 eth driver to CONFIG_MULTI_ETH
Trivial conversion of the ks8695eth driver to a CONFIG_MULTI_ETH type driver. Signed-off-by: Greg Ungerer <greg.ungerer@opengear.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/cm4008.h1
-rw-r--r--include/configs/cm41xx.h1
-rw-r--r--include/netdev.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/cm4008.h b/include/configs/cm4008.h
index 81e4de4..5777062 100644
--- a/include/configs/cm4008.h
+++ b/include/configs/cm4008.h
@@ -38,6 +38,7 @@
#define CONFIG_INITRD_TAG 1
#define CONFIG_DRIVER_KS8695ETH /* use KS8695 ethernet driver */
+#define CONFIG_NET_MULTI
/*
* Size of malloc() pool
diff --git a/include/configs/cm41xx.h b/include/configs/cm41xx.h
index 785ab0a..66e689a 100644
--- a/include/configs/cm41xx.h
+++ b/include/configs/cm41xx.h
@@ -38,6 +38,7 @@
#define CONFIG_INITRD_TAG 1
#define CONFIG_DRIVER_KS8695ETH /* use KS8695 ethernet driver */
+#define CONFIG_NET_MULTI
/*
* Size of malloc() pool
diff --git a/include/netdev.h b/include/netdev.h
index 6f0a971..83d7886 100644
--- a/include/netdev.h
+++ b/include/netdev.h
@@ -66,6 +66,7 @@ int ftmac100_initialize(bd_t *bits);
int greth_initialize(bd_t *bis);
void gt6426x_eth_initialize(bd_t *bis);
int inca_switch_initialize(bd_t *bis);
+int ks8695_eth_initialize(bd_t *bis);
int lan91c96_initialize(u8 dev_num, int base_addr);
int macb_eth_initialize(int id, void *regs, unsigned int phy_addr);
int mcdmafec_initialize(bd_t *bis);