diff mbox series

[1/2] imx: ventana: add delay before reading EEPROM

Message ID 20210416220600.16178-1-tharvey@gateworks.com
State Accepted
Commit 1afa31a41eed4ae048d595a35b8e8779fed38fac
Delegated to: Stefano Babic
Headers show
Series [1/2] imx: ventana: add delay before reading EEPROM | expand

Commit Message

Tim Harvey April 16, 2021, 10:05 p.m. UTC
fixes: d863d054397a ("imx: ventana: convert U-Boot to OF_CONTROL using FIT image")

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 board/gateworks/gw_ventana/eeprom.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefano Babic May 2, 2021, 11:43 a.m. UTC | #1
> fixes: d863d054397a ("imx: ventana: convert U-Boot to OF_CONTROL using FIT image")
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/board/gateworks/gw_ventana/eeprom.c b/board/gateworks/gw_ventana/eeprom.c
index a5a151d85b..b9862c7dfc 100644
--- a/board/gateworks/gw_ventana/eeprom.c
+++ b/board/gateworks/gw_ventana/eeprom.c
@@ -42,6 +42,7 @@  read_eeprom(int bus, struct ventana_board_info *info)
 	}
 
 	/* read eeprom config section */
+	mdelay(10);
 	if (gsc_i2c_read(GSC_EEPROM_ADDR, 0x00, 1, buf, sizeof(*info))) {
 		puts("EEPROM: Failed to read EEPROM\n");
 		return GW_UNKNOWN;