summaryrefslogtreecommitdiff
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)
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 '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 63296f0..2e8d948 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 9a6d89f..72fd64d 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)
{