fec_mxc don't use internal eeprom on MX25
Avoid using the internal eeprom on MX25 like MX51 already does. Signed-off-by: John Rigby <jcrigby@gmail.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
parent
33f684d6d5
commit
910119b3c4
@ -314,9 +314,9 @@ static int fec_get_hwaddr(struct eth_device *dev, unsigned char *mac)
|
|||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* The MX27 can store the mac address in internal eeprom
|
* The MX27 can store the mac address in internal eeprom
|
||||||
* This mechanism is not supported now by MX51
|
* This mechanism is not supported now by MX51 or MX25
|
||||||
*/
|
*/
|
||||||
#ifdef CONFIG_MX51
|
#if defined(CONFIG_MX51) || defined(CONFIG_MX25)
|
||||||
return -1;
|
return -1;
|
||||||
#else
|
#else
|
||||||
struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE;
|
struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE;
|
||||||
|
Loading…
Reference in New Issue
Block a user