mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
OMAP3: mt_ventoux: read MAC address from EEPROM
Signed-off-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
parent
d0e9fb1cf9
commit
9d5fc239cf
1 changed files with 16 additions and 0 deletions
|
@ -196,6 +196,22 @@ int board_init(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int misc_init_r(void)
|
||||||
|
{
|
||||||
|
char *eth_addr;
|
||||||
|
|
||||||
|
dieid_num_r();
|
||||||
|
|
||||||
|
eth_addr = getenv("ethaddr");
|
||||||
|
if (eth_addr)
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
#ifndef CONFIG_SPL_BUILD
|
||||||
|
TAM3517_READ_MAC_FROM_EEPROM;
|
||||||
|
#endif
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Routine: set_muxconf_regs
|
* Routine: set_muxconf_regs
|
||||||
* Description: Setting up the configuration Mux registers specific to the
|
* Description: Setting up the configuration Mux registers specific to the
|
||||||
|
|
Loading…
Reference in a new issue