From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 20 Aug 2014 12:54:06 +0200 Subject: [U-Boot] [PATCH 04/11] imx: ventana: add appropriate delay following GSC i2c write In-Reply-To: <1407476151-5603-5-git-send-email-tharvey@gateworks.com> References: <1407476151-5603-1-git-send-email-tharvey@gateworks.com> <1407476151-5603-5-git-send-email-tharvey@gateworks.com> Message-ID: <53F47E4E.6090703@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/08/2014 07:35, Tim Harvey wrote: > The Gateworks System Controller EEPROM config is flash based. Add a delay > following writes to avoid errors on back-to-back writes. > > Signed-off-by: Tim Harvey > --- > board/gateworks/gw_ventana/gsc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/board/gateworks/gw_ventana/gsc.c b/board/gateworks/gw_ventana/gsc.c > index 37966ab..1cf38d4 100644 > --- a/board/gateworks/gw_ventana/gsc.c > +++ b/board/gateworks/gw_ventana/gsc.c > @@ -57,7 +57,7 @@ int gsc_i2c_write(uchar chip, uint addr, int alen, uchar *buf, int len) > break; > mdelay(10); > } > - mdelay(1); > + mdelay(100); > return ret; > } > > Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================