Re: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-21 Thread Simon Glass
Hi Alban, On 21 October 2014 06:51, Alban Bedel wrote: > On Fri, 17 Oct 2014 14:12:18 -0600 > Simon Glass wrote: > >> > >> > I'm unsure about the 'defaults' commands, I would tend to see it at >> > the eeprom level as it might be needed in various situations. However >> > it must be provided by

Re: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-21 Thread Alban Bedel
On Fri, 17 Oct 2014 14:12:18 -0600 Simon Glass wrote: > > > > I'm unsure about the 'defaults' commands, I would tend to see it at > > the eeprom level as it might be needed in various situations. However > > it must be provided by the device, not the eeprom driver itself. > > It might also make s

Re: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-17 Thread Simon Glass
Hi Alban, On 15 October 2014 03:42, Alban Bedel wrote: > On Tue, 14 Oct 2014 21:18:37 +0200 > Simon Glass wrote: > >> Hi Joe, >> >> On 14 October 2014 21:14, Joe Hershberger wrote: >> > >> > On Tue, Oct 14, 2014 at 12:21 PM, Simon Glass wrote: >> > > >> > > Hi, >> > > >> > > On 14 October 2014

Re: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-15 Thread Alban Bedel
On Tue, 14 Oct 2014 21:18:37 +0200 Simon Glass wrote: > Hi Joe, > > On 14 October 2014 21:14, Joe Hershberger wrote: > > > > On Tue, Oct 14, 2014 at 12:21 PM, Simon Glass wrote: > > > > > > Hi, > > > > > > On 14 October 2014 18:26, Alban Bedel > > > wrote: > > > > Many ethernet devices use a

Re: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-14 Thread Marek Vasut
On Tuesday, October 14, 2014 at 07:21:06 PM, Simon Glass wrote: > Hi, > > On 14 October 2014 18:26, Alban Bedel wrote: > > Many ethernet devices use an EEPROM to store various settings, most > > commonly the device MAC address. But on some devices it can contains > > a lot more, for example USB d

Re: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-14 Thread Simon Glass
Hi Joe, On 14 October 2014 21:14, Joe Hershberger wrote: > > On Tue, Oct 14, 2014 at 12:21 PM, Simon Glass wrote: > > > > Hi, > > > > On 14 October 2014 18:26, Alban Bedel wrote: > > > Many ethernet devices use an EEPROM to store various settings, most > > > commonly the device MAC address. But

Re: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-14 Thread Joe Hershberger
On Tue, Oct 14, 2014 at 12:21 PM, Simon Glass wrote: > > Hi, > > On 14 October 2014 18:26, Alban Bedel wrote: > > Many ethernet devices use an EEPROM to store various settings, most > > commonly the device MAC address. But on some devices it can contains > > a lot more, for example USB device mig

Re: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-14 Thread Simon Glass
Hi, On 14 October 2014 18:26, Alban Bedel wrote: > Many ethernet devices use an EEPROM to store various settings, most > commonly the device MAC address. But on some devices it can contains > a lot more, for example USB device might also have many USB related > parameters. > > This commit add a s

[U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices

2014-10-14 Thread Alban Bedel
Many ethernet devices use an EEPROM to store various settings, most commonly the device MAC address. But on some devices it can contains a lot more, for example USB device might also have many USB related parameters. This commit add a set of commands to read/write this EEPROM, write a default conf