diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-12 02:10:00 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-12 02:10:00 +0100 |
commit | 0afe519a433184fb1270ff0823971130353a807f (patch) | |
tree | dcf4e84ada0961ded5df9ebfc2804e882bca57b0 /drivers/smc91111.c | |
parent | dc013d464000635a5b8ae841c6e683f94a6bee3d (diff) | |
download | u-boot-imx-0afe519a433184fb1270ff0823971130353a807f.zip u-boot-imx-0afe519a433184fb1270ff0823971130353a807f.tar.gz u-boot-imx-0afe519a433184fb1270ff0823971130353a807f.tar.bz2 |
Add ADI Blackfin support
- add support for Analog Devices Blackfin BF533 CPU
- add support for the ADI BF533 Stamp uClinux board
- add support for the ADI BF533 EZKit board
Patches by Richard Klingler, June 11th 2005:
Diffstat (limited to 'drivers/smc91111.c')
-rw-r--r-- | drivers/smc91111.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/smc91111.c b/drivers/smc91111.c index 84e243d..f91e4b9 100644 --- a/drivers/smc91111.c +++ b/drivers/smc91111.c @@ -160,6 +160,9 @@ extern void eth_halt(void); extern int eth_rx(void); extern int eth_send(volatile void *packet, int length); +#ifdef SHARED_RESOURCES + extern void swap_to(int device_id); +#endif /* . This is called by register_netdev(). It is responsible for @@ -533,6 +536,9 @@ static void smc_shutdown() SMC_SELECT_BANK( 0 ); SMC_outb( RCR_CLEAR, RCR_REG ); SMC_outb( TCR_CLEAR, TCR_REG ); +#ifdef SHARED_RESOURCES + swap_to(FLASH); +#endif } @@ -1511,6 +1517,9 @@ static void print_packet( byte * buf, int length ) #endif int eth_init(bd_t *bd) { +#ifdef SHARED_RESOURCES + swap_to(ETHERNET); +#endif return (smc_open(bd)); } |