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

Tim Harvey tharvey at gateworks.com
Sat Apr 17 00:05:59 CEST 2021


fixes: d863d054397a ("imx: ventana: convert U-Boot to OF_CONTROL using FIT image")

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

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;
-- 
2.17.1



More information about the U-Boot mailing list