mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
ARM : Remove unused CONFIG_DRIVER_SMC91111, CONFIG_DRIVER_LAN91C96
Remove unused CONFIG_DRIVER_SMC91111,CONFIG_DRIVER_LAN91C96, if required implement smc_set_mac_addr() in board init. Signed-off-by: Ashok Kumar Reddy <ashokkourla2000@gmail.com> Acked-by: Tom Rini <trini@ti.com>
This commit is contained in:
parent
860bde3fee
commit
bcf28c23f2
1 changed files with 0 additions and 17 deletions
|
@ -57,13 +57,6 @@
|
||||||
#include <miiphy.h>
|
#include <miiphy.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_DRIVER_SMC91111
|
|
||||||
#include "../drivers/net/smc91111.h"
|
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_DRIVER_LAN91C96
|
|
||||||
#include "../drivers/net/lan91c96.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
ulong monitor_flash_len;
|
ulong monitor_flash_len;
|
||||||
|
@ -613,16 +606,6 @@ void board_init_r(gd_t *id, ulong dest_addr)
|
||||||
/* enable exceptions */
|
/* enable exceptions */
|
||||||
enable_interrupts();
|
enable_interrupts();
|
||||||
|
|
||||||
/* Perform network card initialisation if necessary */
|
|
||||||
#if defined(CONFIG_DRIVER_SMC91111) || defined (CONFIG_DRIVER_LAN91C96)
|
|
||||||
/* XXX: this needs to be moved to board init */
|
|
||||||
if (getenv("ethaddr")) {
|
|
||||||
uchar enetaddr[6];
|
|
||||||
eth_getenv_enetaddr("ethaddr", enetaddr);
|
|
||||||
smc_set_mac_addr(enetaddr);
|
|
||||||
}
|
|
||||||
#endif /* CONFIG_DRIVER_SMC91111 || CONFIG_DRIVER_LAN91C96 */
|
|
||||||
|
|
||||||
/* Initialize from environment */
|
/* Initialize from environment */
|
||||||
load_addr = getenv_ulong("loadaddr", 16, load_addr);
|
load_addr = getenv_ulong("loadaddr", 16, load_addr);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue