From: Hoan Hoang Date: Mon, 10 May 2010 19:38:55 +0000 (-0400) Subject: Blackfin: ibf-dsp561: enable AX88180 net driver X-Git-Tag: v2010.09-rc1~82^2~3^2~28 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5cbbabc2b74f544f5b41c9e32c3f3ca42d6fe5dd;p=u-boot Blackfin: ibf-dsp561: enable AX88180 net driver Signed-off-by: Hoan Hoang Signed-off-by: Mike Frysinger --- diff --git a/board/ibf-dsp561/ibf-dsp561.c b/board/ibf-dsp561/ibf-dsp561.c index b5bebd4a90..d2ac7a502b 100644 --- a/board/ibf-dsp561/ibf-dsp561.c +++ b/board/ibf-dsp561/ibf-dsp561.c @@ -7,6 +7,7 @@ */ #include +#include 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 2eef5efa78..5601416faf 100644 --- a/include/configs/ibf-dsp561.h +++ b/include/configs/ibf-dsp561.h @@ -57,6 +57,18 @@ #define CONFIG_SYS_MALLOC_LEN (128 * 1024) +/* + * 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 */