[U-Boot] [PATCH 2/2] usb: eth: smsc95xx: Add EEPROM access support

2014-10-07 Thread Alban Bedel
Use the new ethernet eeprom API to allow the user to read/write the EEPROM. Change-Id: I21233b6ee805a75bd8a03ca12e22c41421b7629c Signed-off-by: Alban Bedel alban.be...@avionic-design.de --- drivers/usb/eth/smsc95xx.c | 199 +++-- 1 file changed, 192

Re: [U-Boot] [PATCH 2/2] usb: eth: smsc95xx: Add EEPROM access support

2014-10-07 Thread Pavel Machek
On Tue 2014-10-07 11:19:37, Alban Bedel wrote: Use the new ethernet eeprom API to allow the user to read/write the EEPROM. Change-Id: I21233b6ee805a75bd8a03ca12e22c41421b7629c Signed-off-by: Alban Bedel alban.be...@avionic-design.de --- drivers/usb/eth/smsc95xx.c | 199

Re: [U-Boot] [PATCH 2/2] usb: eth: smsc95xx: Add EEPROM access support

2014-10-07 Thread Alban Bedel
On Tue, 7 Oct 2014 14:22:09 +0200 Pavel Machek pa...@denx.de wrote: On Tue 2014-10-07 11:19:37, Alban Bedel wrote: Use the new ethernet eeprom API to allow the user to read/write the EEPROM. Change-Id: I21233b6ee805a75bd8a03ca12e22c41421b7629c Signed-off-by: Alban Bedel

Re: [U-Boot] [PATCH 2/2] usb: eth: smsc95xx: Add EEPROM access support

2014-10-07 Thread Marek Vasut
On Tuesday, October 07, 2014 at 03:35:40 PM, Alban Bedel wrote: On Tue, 7 Oct 2014 14:22:09 +0200 Pavel Machek pa...@denx.de wrote: On Tue 2014-10-07 11:19:37, Alban Bedel wrote: Use the new ethernet eeprom API to allow the user to read/write the EEPROM. Change-Id:

Re: [U-Boot] [PATCH 2/2] usb: eth: smsc95xx: Add EEPROM access support

2014-10-07 Thread Pavel Machek
Hi! +static u8 eeprom_defaults[] = { + /* 0x00 */ + 0xA5, /* Signature */ + 0xFF, 0xFF, /* MAC bytes 0-1 */ + 0xFF, 0xFF, /* MAC bytes 2-3 */ + 0xFF, 0xFF, /* MAC bytes 4-5 */ Normally, we use all zeros for unset...? That's what the controller use