summaryrefslogtreecommitdiff
path: root/board/gateworks/gw_ventana
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2014-08-07 22:35:44 -0700
committerStefano Babic <sbabic@denx.de>2014-08-20 12:53:50 +0200
commite5131d53bfd6d03a2a84f2c8ef0f5977c1b96359 (patch)
treeb672f46b3ab1685799cd407af92e55209ad5a694 /board/gateworks/gw_ventana
parent2325bb1898fe0d73d1f5252b4547e7c48b7c1b0a (diff)
downloadu-boot-imx-e5131d53bfd6d03a2a84f2c8ef0f5977c1b96359.zip
u-boot-imx-e5131d53bfd6d03a2a84f2c8ef0f5977c1b96359.tar.gz
u-boot-imx-e5131d53bfd6d03a2a84f2c8ef0f5977c1b96359.tar.bz2
imx: ventana: add appropriate delay following GSC i2c write
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 <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks/gw_ventana')
-rw-r--r--board/gateworks/gw_ventana/gsc.c2
1 files changed, 1 insertions, 1 deletions
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;
}