imx: ventana: add delay before reading EEPROM
authorTim Harvey <tharvey@gateworks.com>
Fri, 16 Apr 2021 22:05:59 +0000 (15:05 -0700)
committerStefano Babic <sbabic@denx.de>
Sun, 2 May 2021 10:46:54 +0000 (12:46 +0200)
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

index a5a151d..b9862c7 100644 (file)
@@ -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;