Skip to content
Snippets Groups Projects
Commit 5cbbabc2 authored by Hoan Hoang's avatar Hoan Hoang Committed by Mike Frysinger
Browse files

Blackfin: ibf-dsp561: enable AX88180 net driver


Signed-off-by: default avatarHoan Hoang <hnhoan@i-syst.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent ce53fc66
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
*/ */
#include <common.h> #include <common.h>
#include <netdev.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
...@@ -16,3 +17,10 @@ int checkboard(void) ...@@ -16,3 +17,10 @@ int checkboard(void)
printf(" Support: http://www.i-syst.com/\n"); printf(" Support: http://www.i-syst.com/\n");
return 0; return 0;
} }
#ifdef CONFIG_DRIVER_AX88180
int board_eth_init(bd_t *bis)
{
return ax88180_initialize(bis);
}
#endif
...@@ -57,6 +57,18 @@ ...@@ -57,6 +57,18 @@
#define CONFIG_SYS_MALLOC_LEN (128 * 1024) #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 * Flash Settings
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment