imx: ventana: add delay before reading EEPROM

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

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
Tim Harvey 2021-04-16 15:05:59 -07:00 committed by Stefano Babic
parent 7e0daa924a
commit 1afa31a41e

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