Re: [U-Boot] [PATCH V6 2/5] mv_i2c: use structure to replace the direclty define

2011-04-03 Thread Wolfgang Denk
Dear Lei Wen, In message you wrote: > > >> @@ -114,13 +97,15 @@ static void i2c_reset(void) > >> static int i2c_isr_set_cleared(unsigned long set_mask, > >> unsigned long> cleared_mask) > >> { > >> - int timeout = 1; > >> + int timeout = 1000, isr; > >

Re: [U-Boot] [PATCH V6 2/5] mv_i2c: use structure to replace the direclty define

2011-04-03 Thread Lei Wen
Hi Prafulla, On Sat, Apr 2, 2011 at 2:29 AM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Lei Wen [mailto:lei...@marvell.com] >> Sent: Thursday, March 31, 2011 2:07 PM >> To: Heiko Schocher; Prafulla Wadaskar; Wolfgang Denk; u- >> b...@lists.denx.de; Marek Vasut; Ashish Kar

Re: [U-Boot] [PATCH V6 2/5] mv_i2c: use structure to replace the direclty define

2011-04-01 Thread Prafulla Wadaskar
> -Original Message- > From: Lei Wen [mailto:lei...@marvell.com] > Sent: Thursday, March 31, 2011 2:07 PM > To: Heiko Schocher; Prafulla Wadaskar; Wolfgang Denk; u- > b...@lists.denx.de; Marek Vasut; Ashish Karkare; Prabhanjan Sarnaik; Yu > Tang; adrian.w...@gmail.com > Subject: [PATCH V6

[U-Boot] [PATCH V6 2/5] mv_i2c: use structure to replace the direclty define

2011-03-31 Thread Lei Wen
Add i2c_clk_enable in the cpu specific code, since previous platform it, while new platform don't need. In the pantheon and armada100 platform, this function is defined as NULL one. Signed-off-by: Lei Wen --- Changelog: V2: NO CHANGE V3: clean code sytle issue V4: V5: V6: NO CHANGE arch/arm/c