Re: [U-Boot] [PATCH] common/i2c: Add i2c write command

2012-10-15 Thread Heiko Schocher
Hello York Sun, On 16.09.2012 20:02, York Sun wrote: Add i2c write command to write data from memory to i2c devices. Signed-off-by: York Sun --- common/cmd_i2c.c | 50 ++ 1 file changed, 50 insertions(+) Applied to u-boot-i2c master Thanks

Re: [U-Boot] [PATCH] common/i2c: Add i2c write command

2012-09-26 Thread Heiko Schocher
Hello Tom, York, On 25.09.2012 22:21, Tom Rini wrote: [...] Tom, Do I need to change this patch in any way? I see it is still "under review" in patchwork. I am fine with it. This falls to Heiko now, thanks. It looks good to me too. I add it in the next merge window. bye, Heiko -- DENX Sof

Re: [U-Boot] [PATCH] common/i2c: Add i2c write command

2012-09-25 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/25/12 12:59, York Sun wrote: > On 09/17/2012 08:57 PM, York Sun wrote: >> I have a case under debugging where I need to use i2c write to >> devices. One device (EEPROM) has two-byte address length and >> most others (including other EEPROMs) hav

Re: [U-Boot] [PATCH] common/i2c: Add i2c write command

2012-09-25 Thread York Sun
On 09/17/2012 08:57 PM, York Sun wrote: I have a case under debugging where I need to use i2c write to devices. One device (EEPROM) has two-byte address length and most others (including other EEPROMs) have one byte address length. I also have other non-storage devices but I wouldn't use "i2c wri

Re: [U-Boot] [PATCH] common/i2c: Add i2c write command

2012-09-17 Thread York Sun
On 09/17/2012 06:36 PM, Tom Rini wrote: On Mon, Sep 17, 2012 at 11:29:00PM +, sun york-R58495 wrote: Tom, It's like eeprom write but it writes to general devices, not specificly to system eeprom. I would have to use i2c mw command a lot without this. Right. I guess what I'm getting at

Re: [U-Boot] [PATCH] common/i2c: Add i2c write command

2012-09-17 Thread Tom Rini
On Mon, Sep 17, 2012 at 11:29:00PM +, sun york-R58495 wrote: > Tom, > > It's like eeprom write but it writes to general devices, not specificly to > system eeprom. I would have to use i2c mw command a lot without this. Right. I guess what I'm getting at is, are you writing to some sort of

Re: [U-Boot] [PATCH] common/i2c: Add i2c write command

2012-09-17 Thread sun york-R58495
-boot-rele...@linux.freescale.net; Heiko Schocher Subject: Re: [U-Boot] [PATCH] common/i2c: Add i2c write command On Sun, Sep 16, 2012 at 01:02:30PM -0500, York Sun wrote: > Add i2c write command to write data from memory to i2c devices. > > Signed-off-by: York Sun This feels like eepro

Re: [U-Boot] [PATCH] common/i2c: Add i2c write command

2012-09-17 Thread Tom Rini
On Sun, Sep 16, 2012 at 01:02:30PM -0500, York Sun wrote: > Add i2c write command to write data from memory to i2c devices. > > Signed-off-by: York Sun This feels like eeprom write, to an i2c-connected eeprom. Is that what you have this for, or something else? -- Tom signature.asc Descript

[U-Boot] [PATCH] common/i2c: Add i2c write command

2012-09-16 Thread York Sun
Add i2c write command to write data from memory to i2c devices. Signed-off-by: York Sun --- common/cmd_i2c.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index 2cdc4ed..6099115 100644 --- a/common/cm