summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoan Hoang <hnhoan@i-syst.com>2010-05-10 15:38:55 -0400
committerMike Frysinger <vapier@gentoo.org>2010-07-05 04:18:18 -0400
commit5cbbabc2b74f544f5b41c9e32c3f3ca42d6fe5dd (patch)
treea1d4d1a007f59618b37cb9533b39d9190a9f507e
parentce53fc660114a2c23e6e8adbc197008b36ca444d (diff)
downloadu-boot-imx-5cbbabc2b74f544f5b41c9e32c3f3ca42d6fe5dd.zip
u-boot-imx-5cbbabc2b74f544f5b41c9e32c3f3ca42d6fe5dd.tar.gz
u-boot-imx-5cbbabc2b74f544f5b41c9e32c3f3ca42d6fe5dd.tar.bz2
Blackfin: ibf-dsp561: enable AX88180 net driver
Signed-off-by: Hoan Hoang <hnhoan@i-syst.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--board/ibf-dsp561/ibf-dsp561.c8
-rw-r--r--include/configs/ibf-dsp561.h12
2 files changed, 20 insertions, 0 deletions
diff --git a/board/ibf-dsp561/ibf-dsp561.c b/board/ibf-dsp561/ibf-dsp561.c
index b5bebd4..d2ac7a5 100644
--- a/board/ibf-dsp561/ibf-dsp561.c
+++ b/board/ibf-dsp561/ibf-dsp561.c
@@ -7,6 +7,7 @@
*/
#include <common.h>
+#include <netdev.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -16,3 +17,10 @@ int checkboard(void)
printf(" Support: http://www.i-syst.com/\n");
return 0;
}
+
+#ifdef CONFIG_DRIVER_AX88180
+int board_eth_init(bd_t *bis)
+{
+ return ax88180_initialize(bis);
+}
+#endif
diff --git a/include/configs/ibf-dsp561.h b/include/configs/ibf-dsp561.h
index 2eef5ef..5601416 100644
--- a/include/configs/ibf-dsp561.h
+++ b/include/configs/ibf-dsp561.h
@@ -58,6 +58,18 @@
/*
+ * Network Settings
+ */
+#define ADI_CMDS_NETWORK 1
+#define CONFIG_NET_MULTI
+#define CONFIG_DRIVER_AX88180 1
+#define AX88180_BASE 0x2c000000
+#define CONFIG_HOSTNAME ibf-dsp561
+/* Uncomment next line to use fixed MAC address */
+/* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */
+
+
+/*
* Flash Settings
*/
#define CONFIG_SYS_FLASH_CFI /* The flash is CFI compatible */