Blackfin: ibf-dsp561: enable AX88180 net driver

Signed-off-by: Hoan Hoang <hnhoan@i-syst.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
master
Hoan Hoang 15 years ago committed by Mike Frysinger
parent ce53fc6601
commit 5cbbabc2b7
  1. 8
      board/ibf-dsp561/ibf-dsp561.c
  2. 12
      include/configs/ibf-dsp561.h

@ -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

@ -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 */

Loading…
Cancel
Save