diff options
author | Tim Harvey <tharvey@gateworks.com> | 2024-06-19 14:13:22 -0700 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2024-06-24 09:19:10 -0300 |
commit | 87a4e5b3a41f5b13dd86c8661ee92f58098c10ac (patch) | |
tree | d84420cf21e8556efd84889b1b4a24c0270f7d24 /board | |
parent | ef0b5b61f43cd8022a6fd1e3fc9a0506fd0667f5 (diff) | |
download | u-boot-87a4e5b3a41f5b13dd86c8661ee92f58098c10ac.tar.gz u-boot-87a4e5b3a41f5b13dd86c8661ee92f58098c10ac.tar.bz2 u-boot-87a4e5b3a41f5b13dd86c8661ee92f58098c10ac.zip |
board: gateworks: venice: delay before reading GSC EEPROM
Extensive testing has shown that at higher temperatures operating
without a GSC backup battery, the GSC needs a small delay after
releasing the I2C SDA/SCL pins before it is ready to handle I2C
requests.
Add a delay to avoid errors such as:
wait_for_sr_state: Arbitration lost sr=93 cr=80 state=2020
i2c_init_transfer: failed for chip 0x20 retry=0
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/gateworks/venice/spl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/gateworks/venice/spl.c b/board/gateworks/venice/spl.c index 04dc0d66ea..e9cdede621 100644 --- a/board/gateworks/venice/spl.c +++ b/board/gateworks/venice/spl.c @@ -302,6 +302,7 @@ void board_init_f(ulong dummy) mdelay(10); } pinctrl_select_state(bus, "default"); + mdelay(10); } } /* Wait indefiniately until the GSC probes */ |