summaryrefslogtreecommitdiffstats
path: root/board
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 /board
parenta00e749d5b172b69bcf84e5fee36b2d20ee67b10 (diff)
downloadtalos-obmc-uboot-1e8ff7145c6be51f295d8e235472a6455aee1ac3.tar.gz
talos-obmc-uboot-1e8ff7145c6be51f295d8e235472a6455aee1ac3.zip
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 'board')
-rw-r--r--board/cm4008/cm4008.c4
-rw-r--r--board/cm41xx/cm41xx.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/board/cm4008/cm4008.c b/board/cm4008/cm4008.c
index 63296f092b..2e8d948054 100644
--- a/board/cm4008/cm4008.c
+++ b/board/cm4008/cm4008.c
@@ -74,6 +74,10 @@ int board_late_init (void)
return 0;
}
+int board_eth_init(bd_t *bis)
+{
+ return ks8695_eth_initialize();
+}
int board_init (void)
{
diff --git a/board/cm41xx/cm41xx.c b/board/cm41xx/cm41xx.c
index 9a6d89fdc6..72fd64d5b0 100644
--- a/board/cm41xx/cm41xx.c
+++ b/board/cm41xx/cm41xx.c
@@ -74,6 +74,10 @@ int board_late_init (void)
return 0;
}
+int board_eth_init(bd_t *bis)
+{
+ return ks8695_eth_initialize();
+}
int board_init (void)
{
OpenPOWER on IntegriCloud